From: Pasi Kallinen Date: Fri, 13 Mar 2020 17:28:56 +0000 (+0200) Subject: Fix vault guard leaving monsters encased in stone X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=961b2a11ff3c314f18969d6882cf9194956f294a;p=nethack 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. --- 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))