barrier:: fixed getNewLand to know the old land with new barriers

This commit is contained in:
Zeno Rogue 2021-07-30 15:31:54 +02:00
parent 8d913f525d
commit 70702a8cd9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {