1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixup to CR

This commit is contained in:
Zeno Rogue 2024-05-25 12:04:11 +02:00
parent 9f711627f1
commit d7bde6f175
2 changed files with 3 additions and 2 deletions

View File

@ -1157,6 +1157,7 @@ EX bool buildBarrier3D(cell *c, eLand l2, int forced_dir) {
#endif #endif
EX bool buildBarrierNowall(cell *c, eLand l2, int forced_dir IS(NODIR)) { EX bool buildBarrierNowall(cell *c, eLand l2, int forced_dir IS(NODIR)) {
if(among(l2, laCrossroads2, laCrossroads5)) return false;
return general_barrier_build(NOWALLSEP, c, l2, forced_dir); return general_barrier_build(NOWALLSEP, c, l2, forced_dir);
} }

View File

@ -1810,9 +1810,9 @@ EX void build_walls(cell *c, cell *from) {
return; return;
} }
else if(good_for_wall(c) && ls::any_wall() && c->land == laCrossroads4 && hrand(10000) < 7000 && c->land && !c->master->alt && !tactic::on && !racing::on && else if(good_for_wall(c) && ls::any_wall() && c->land == laCrossroads4 && hrand(10000) < 7000 && c->land && !c->master->alt && !tactic::on && !racing::on &&
buildBarrierNowall(c, getNewLand(laCrossroads4))) ; buildBarrierNowall(c, getNewLand(laCrossroads4))) ;
else if(good_for_wall(c) && ls::any_wall() && hrand(I10000) < 20 && !generatingEquidistant && !yendor::on && !tactic::on && !racing::on && !isCrossroads(c->land) && else if(good_for_wall(c) && ls::any_wall() && hrand(I10000) < 20 && !generatingEquidistant && !yendor::on && !tactic::on && !racing::on && !isCrossroads(c->land) &&
landUnlockedIngame(laCrossroads4) && !weirdhyperbolic && !c->master->alt && c->bardir != NOBARRIERS && landUnlockedIngame(laCrossroads4) && !weirdhyperbolic && !c->master->alt && c->bardir != NOBARRIERS &&
!inmirror(c) && !isSealand(c->land) && !isHaunted(c->land) && !isGravityLand(c->land) && !inmirror(c) && !isSealand(c->land) && !isHaunted(c->land) && !isGravityLand(c->land) &&