no more pushing statues on arrow/fire traps

This commit is contained in:
Zeno Rogue 2019-01-03 03:19:51 +01:00
parent e36246e392
commit cded55423b
1 changed files with 3 additions and 2 deletions

View File

@ -827,8 +827,9 @@ bool sharkpassable(cell *w, cell *c) {
}
bool canPushStatueOn(cell *c) {
return passable(c, NULL, P_MONSTER) && c->wall != waBoat && !snakelevel(c) &&
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on;
return passable(c, NULL, P_MONSTER) && !snakelevel(c) &&
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
!among(c->wall, waBoat, waFireTrap, waArrowTrap);
}
void moveBoat(cell *to, cell *from, int direction_hint) {