fix B14012 - polymorph of monster possessions
Forwarded from the newsgroup: when a monster gets hit by wand or spell of polymorph, any armor that fell off was protected from being hit by that same zap, but a dropped weapon wasn't. Nor was the whole dropped inventory in the case where the monster is killed by system shock rather than transformed. Protect its entire inventory.
This commit is contained in:
@@ -2187,7 +2187,7 @@ E int FDECL(hitval, (struct obj *,struct monst *));
|
||||
E int FDECL(dmgval, (struct obj *,struct monst *));
|
||||
E struct obj *FDECL(select_rwep, (struct monst *));
|
||||
E struct obj *FDECL(select_hwep, (struct monst *));
|
||||
E void FDECL(possibly_unwield, (struct monst *));
|
||||
E void FDECL(possibly_unwield, (struct monst *,BOOLEAN_P));
|
||||
E int FDECL(mon_wield_item, (struct monst *));
|
||||
E int NDECL(abon);
|
||||
E int NDECL(dbon);
|
||||
|
||||
Reference in New Issue
Block a user