1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

fixed burial mounds not appearing in chaos/h/v land structures

This commit is contained in:
Zeno Rogue 2023-10-05 11:48:43 +02:00
parent b9d8aaee13
commit c63eebc15f

View File

@ -885,7 +885,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
if(hrand(5000) < 25 && celldist(c) >= 5 && !safety) {
bool goodland = true;
cell *c2 = createMov(c, hrand(c->type));
for(auto cx: {c, c2})
if(!ls::any_chaos() && !ls::hv_structure()) for(auto cx: {c, c2})
forCellCM(c3,cx) {
if(c3->land != laNone && c3->land != laBurial)
goodland = false;