Ticket #4012: Phönicia.2.diff

File Phönicia.2.diff, 490 bytes (added by sanderd17, 8 years ago)

First patch messes up mountains on the edge, second patch doesn't

  • binaries/data/mods/public/maps/random/rmgen/map.js

     
    102102    }
    103103    else
    104104        // Within map square
    105         return x >= 0 && z >= 0 && x < this.size && z < this.size;
     105        return x >= 3 && z >= 3 && x < this.size - 3 && z < this.size - 3;
    106106};
    107107
    108108// Check bounds on tile map