mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-18 03:09:59 +00:00
gp::fixed land not generating sometimes in a4
This commit is contained in:
parent
84afa659c8
commit
711efc3be4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user