mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
fixed a crash when generating Rose Garden in 3D geometries
This commit is contained in:
parent
0be99b931f
commit
4dc83af688
@ -1840,7 +1840,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
for(int i=0; i<c->type; i++) {
|
||||
cell *c2 = c->move(i);
|
||||
if(c2 && c2->wall == waRose) nww++;
|
||||
if(!chaosmode) for(int j=0; j<c2->type; j++) {
|
||||
if(c2 && !chaosmode) for(int j=0; j<c2->type; j++) {
|
||||
cell *c3 = c2->move(j);
|
||||
// note: c3->land is required for Android --
|
||||
// not strictly equivalent since another land there might be not yet generated
|
||||
|
Loading…
Reference in New Issue
Block a user