From 961b2a11ff3c314f18969d6882cf9194956f294a Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 13 Mar 2020 19:28:56 +0200 Subject: [PATCH] Fix vault guard leaving monsters encased in stone For some reason the vault guard fake corridor code checked if the hero was outside the corridor before removing monsters. But the vault end of the corridor usually gets sealed off even while you're still in the corridor. This left monsters stuck in solid rock. --- doc/fixes37.0 | 1 + src/vault.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes37.0 b/doc/fixes37.0 index e4bbf7ace..8e0d72f85 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -76,6 +76,7 @@ when punished, involuntarily teleporting and landing within chain range of inventory cursing caused by "this water's no good" effect when drinking from a fountain didn't update persistent inventory window fix priest created inside temple wall +fix vault guard occasionally encasing monsters in stone Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/vault.c b/src/vault.c index 2f0c6a86c..2cf8d1dcb 100644 --- a/src/vault.c +++ b/src/vault.c @@ -76,7 +76,7 @@ boolean forceshow; if ((mtmp = m_at(fcx, fcy)) != 0) { if (mtmp->isgd) { return FALSE; - } else if (!in_fcorridor(grd, u.ux, u.uy)) { + } else { if (mtmp->mtame) yelp(mtmp); if (!rloc(mtmp, TRUE))