mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
barrier:: fixed getNewLand to know the old land with new barriers
This commit is contained in:
parent
8d913f525d
commit
70702a8cd9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user