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:
parent
0c779f8067
commit
b214fbefa8
@ -1032,6 +1032,7 @@ void buildBigStuff(cell *c, cell *from) {
|
|||||||
if(c->land == laOvergrown && ctof(c) &&
|
if(c->land == laOvergrown && ctof(c) &&
|
||||||
(quickfind(laClearing) || (hrand(I2000) < 25 &&
|
(quickfind(laClearing) || (hrand(I2000) < 25 &&
|
||||||
!randomPatternsMode && items[itMutant] >= U5 &&
|
!randomPatternsMode && items[itMutant] >= U5 &&
|
||||||
|
isLandValid(laClearing) &&
|
||||||
!tactic::on && !yendor::on))) {
|
!tactic::on && !yendor::on))) {
|
||||||
heptagon *h = createAlternateMap(c, 2, hsA);
|
heptagon *h = createAlternateMap(c, 2, hsA);
|
||||||
if(h) clearing::bpdata[h].root = NULL;
|
if(h) clearing::bpdata[h].root = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user