1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 20:08:06 +00:00

cannot push statue on barriers

This commit is contained in:
Zeno Rogue
2025-12-11 10:59:23 +01:00
parent d0d4ac9e47
commit 67c6de1c9b

View File

@@ -417,7 +417,7 @@ EX bool canPushStatueOn(cell *c, flagtype flags) {
return passable(c, NULL, P_MONSTER | flags) && !snakelevel(c) && return passable(c, NULL, P_MONSTER | flags) && !snakelevel(c) &&
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on && !isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
!cellHalfvine(c) && !isDie(c->wall) && !cellHalfvine(c) && !isDie(c->wall) &&
!among(c->wall, waBoat, waFireTrap, waArrowTrap); !among(c->wall, waBoat, waFireTrap, waArrowTrap, waBarrier);
} }
EX void moveBoat(const movei& mi) { EX void moveBoat(const movei& mi) {