From 1fc02631c8af13d4a2d0a709382d0e14a7b87b16 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 6 Apr 2024 09:50:41 +0200 Subject: [PATCH] fixed CR4 still appearing in 'landscape' land structure, and when disabled via custom land list --- bigstuff.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index 4d0f32a9..e45550bf 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -1792,11 +1792,11 @@ EX void build_walls(cell *c, cell *from) { return; } - else if(good_for_wall(c) && 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))) ; - else if(good_for_wall(c) && hrand(I10000) < 20 && !generatingEquidistant && !yendor::on && !tactic::on && !racing::on && !isCrossroads(c->land) && - gold() >= R200 && !weirdhyperbolic && !c->master->alt && c->bardir != NOBARRIERS && + 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 && !inmirror(c) && !isSealand(c->land) && !isHaunted(c->land) && !isGravityLand(c->land) && (c->land != laRlyeh || rlyehComplete()) && c->land != laTortoise && c->land != laPrairie && c->land &&