1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

for BARLEV=8, buildEquidistant acts at 7

This commit is contained in:
Zeno Rogue 2019-03-13 15:26:46 +01:00
parent da295089b5
commit 1e27888f7d

View File

@ -2530,13 +2530,15 @@ void setdist(cell *c, int d, cell *from) {
if(buggyGeneration) return; if(buggyGeneration) return;
} }
if(d == BARLEV-2 && c->land == laOcean) int eqlevel = max(BARLEV-2, 7);
if(d == eqlevel && c->land == laOcean)
buildEquidistant(c); buildEquidistant(c);
if(d == BARLEV-2 && inmirror(c)) if(d == eqlevel && inmirror(c))
buildEquidistant(c); buildEquidistant(c);
if(d == BARLEV-2 && (c->land == laGraveyard || c->land == laHauntedBorder || c->land == laHaunted) && !tactic::on) if(d == eqlevel && (c->land == laGraveyard || c->land == laHauntedBorder || c->land == laHaunted) && !tactic::on)
buildEquidistant(c); buildEquidistant(c);
} }