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
1 changed files with 1 additions and 0 deletions

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;