Fix crash by disallowing statue-dice swaps

This commit is contained in:
Jesse Ruderman 2021-07-10 19:15:16 -07:00
parent 8f8cbfd4c7
commit b4d6b86872
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ bool sharkpassable(cell *w, cell *c) {
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) &&
!cellHalfvine(c) && !isDie(c->wall) &&
!among(c->wall, waBoat, waFireTrap, waArrowTrap);
}