vault guard message on the wrong level

if vault guard leaves his original level and is killed, clear_fcorr
was still attempted on the wrong level.
This commit is contained in:
cohrs
2002-02-24 06:56:02 +00:00
parent 34f682205c
commit fcf8af733b
2 changed files with 3 additions and 0 deletions

View File

@@ -441,6 +441,7 @@ prevent corpses of undead creatures just killed by undead turning from being
instantly revived by the same undead turning attack
allow fake player monsters to handle artifacts that don't match alignment/role
chaotic monsters can use Stormbringer; lawful monsters can use Excalibur
No "corridor disappears" message if Vault guard dies off-level
Platform- and/or Interface-Specific Fixes

View File

@@ -26,6 +26,8 @@ register boolean forceshow;
register int fcx, fcy, fcbeg;
register struct monst *mtmp;
if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE;
while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) {
fcx = EGD(grd)->fakecorr[fcbeg].fx;
fcy = EGD(grd)->fakecorr[fcbeg].fy;