From 70702a8cd9365a4d740ee3e297cc6a8b2c2846d3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 30 Jul 2021 15:31:54 +0200 Subject: [PATCH] barrier:: fixed getNewLand to know the old land with new barriers --- bigstuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index c12a8b20..f3533691 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -1510,7 +1510,7 @@ EX bool nice_walls_available() { EX void build_barrier_good(cell *c, eLand l IS(laNone)) { if(!old_nice_walls()) { - buildBarrierX(NOWALLSEP_WALL, c, l ? l : getNewLand(l), NODIR); + buildBarrierX(NOWALLSEP_WALL, c, l ? l : getNewLand(c->land), NODIR); } else {