1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

gp::fixed land not generating sometimes in a4

This commit is contained in:
Zeno Rogue 2018-07-10 14:25:55 +02:00
parent 84afa659c8
commit 711efc3be4

View File

@ -2372,7 +2372,7 @@ void setdist(cell *c, int d, cell *from) {
// this fixes the following problem:
// http://steamcommunity.com/app/342610/discussions/0/1470840994970724215/
if(!generatingEquidistant && from && d >= 7) {
if(!generatingEquidistant && from && d >= 7 && c->land) {
int cdi = celldist(c);
if(celldist(from) > cdi) {
forCellCM(c2, c) if(celldist(c2) < cdi) {