From 311506f45cf4c677c855813af66875d2b7c03c38 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 10 Mar 2019 18:41:00 +0100 Subject: [PATCH] barrier fixup --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index e90963fe..23f41121 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2467,7 +2467,7 @@ void setdist(cell *c, int d, cell *from) { if(cseek->master->emeraldval) setland(c, eLand(cseek->master->emeraldval)); } - if(!c->land && from && (DIM == 3 || among(from->land, laBarrier, laElementalWall, laHauntedWall, laOceanWall)) && !quotient) { + if(!c->land && from && (DIM == 3 || !among(from->land, laBarrier, laElementalWall, laHauntedWall, laOceanWall)) && !quotient) { if(!hasbardir(c)) setland(c, from->land); } if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);