From b4d6b8687209e255a68e98d866c7123a36c5af82 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Sat, 10 Jul 2021 19:15:16 -0700 Subject: [PATCH] Fix crash by disallowing statue-dice swaps --- passable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passable.cpp b/passable.cpp index 071aa739..64bb49f6 100644 --- a/passable.cpp +++ b/passable.cpp @@ -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); }