1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 11:58:07 +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) &&
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
!cellHalfvine(c) && !isDie(c->wall) &&
!among(c->wall, waBoat, waFireTrap, waArrowTrap);
!among(c->wall, waBoat, waFireTrap, waArrowTrap, waBarrier);
}
EX void moveBoat(const movei& mi) {