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.
This commit is contained in:
Pasi Kallinen
2020-03-13 19:28:56 +02:00
parent 5c3670b1f0
commit 961b2a11ff
2 changed files with 2 additions and 1 deletions

View File

@@ -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))