1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

in ls::single, fixed Warped Coast

This commit is contained in:
Zeno Rogue 2021-04-23 19:51:45 +02:00
parent e960b82e17
commit 21d5187039

View File

@ -1490,6 +1490,9 @@ EX void build_walls(cell *c, cell *from) {
if(c->land == laCrossroads2 && BITRUNCATED)
buildCrossroads2(c);
else if(good_for_wall(c) && isWarpedType(c->land) && hrand(10000) < 3000 && c->land &&
buildBarrierNowall(c, eLand(c->land ^ laWarpSea ^ laWarpCoast))) { }
else if(ls::single()) return;
if(geometry == gNormal && celldist(c) < 3 && !GOLDBERG) {
@ -1511,9 +1514,6 @@ EX void build_walls(cell *c, cell *from) {
return;
}
else if(good_for_wall(c) && isWarpedType(c->land) && hrand(10000) < 3000 && c->land &&
buildBarrierNowall(c, eLand(c->land ^ laWarpSea ^ laWarpCoast))) ;
else if(good_for_wall(c) && c->land == laCrossroads4 && hrand(10000) < 7000 && c->land && !c->master->alt && !tactic::on && !racing::on &&
buildBarrierNowall(c, getNewLand(laCrossroads4))) ;