Ticket #4012: fix_trees_in_map_border2016-6-3.patch
File fix_trees_in_map_border2016-6-3.patch, 523 bytes (added by , 8 years ago) |
---|
-
binaries/data/mods/public/maps/random/rmgen/map.js
102 102 } 103 103 else 104 104 // Within map square 105 return x >= 0 && z >= 0 && x < this.size && z < this.size;105 return x >= distance && z >= distance && x < this.size - distance && z < this.size - distance; 106 106 }; 107 107 108 108 // Check bounds on tile map