From 27fb05493719425b21e804decbf35a4bf6d2a2c4 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 15 Apr 2002 15:33:44 +0000 Subject: [PATCH] polymorph engulfing monster display bit - reported that the swallowed display did not update immediately if you managed to polymorph the monster that was engulfing you into another engulfing monster --- doc/fixes34.1 | 2 ++ src/mon.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 5e3a05cf3..bddd8c661 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -76,6 +76,8 @@ don't crash when angry shopkeeper re-enters the shop and you pick up something monsters with WAITFORU strategy should act if successfully attacked by non-damaging attacks (e.g. seduction, rust damage) don't summon kops if credit covers cost of unpaid goods taken out of shop +update swallowed display immediately if an engulfing monster polymorphs + into another engulfing monster Platform- and/or Interface-Specific Fixes diff --git a/src/mon.c b/src/mon.c index 9b06912bf..690186d0c 100644 --- a/src/mon.c +++ b/src/mon.c @@ -2368,6 +2368,9 @@ boolean polyspot; /* change is the result of wand or spell of polymorph */ mtmp->mhp = 1; /* almost dead */ } expels(mtmp, olddata, FALSE); + } else { + /* update swallow glyphs for new monster */ + swallowed(0); } } else if (!sticks(mdat) && !sticks(youmonst.data)) unstuck(mtmp);