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

don't create Clearing if not available in this geometry

This commit is contained in:
Zeno Rogue 2017-11-03 21:15:11 +01:00
parent 0c779f8067
commit b214fbefa8

View File

@ -1032,6 +1032,7 @@ void buildBigStuff(cell *c, cell *from) {
if(c->land == laOvergrown && ctof(c) &&
(quickfind(laClearing) || (hrand(I2000) < 25 &&
!randomPatternsMode && items[itMutant] >= U5 &&
isLandValid(laClearing) &&
!tactic::on && !yendor::on))) {
heptagon *h = createAlternateMap(c, 2, hsA);
if(h) clearing::bpdata[h].root = NULL;