mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
barrier fixup
This commit is contained in:
parent
29e8bbd9d4
commit
311506f45c
@ -2467,7 +2467,7 @@ void setdist(cell *c, int d, cell *from) {
|
|||||||
if(cseek->master->emeraldval) setland(c, eLand(cseek->master->emeraldval));
|
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(!hasbardir(c)) setland(c, from->land);
|
||||||
}
|
}
|
||||||
if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);
|
if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);
|
||||||
|
Loading…
Reference in New Issue
Block a user