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

canPushStatueOn also disabled for other 'do not touch' walls

This commit is contained in:
Zeno Rogue
2025-12-11 11:03:14 +01:00
parent 568e2d7ab4
commit 2a86de2f1f

View File

@@ -418,7 +418,8 @@ 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, waBarrier);
!among(c->wall, waBoat, waFireTrap, waArrowTrap) &&
!do_not_touch_this_wall(c);
}
EX void moveBoat(const movei& mi) {