Use DEADMONSTER instead of checking mhp
This commit is contained in:
@@ -1751,7 +1751,7 @@ struct monst *mtmp, *victim;
|
||||
|
||||
/* monster died after killing enemy but before calling this function */
|
||||
/* currently possible if killing a gas spore */
|
||||
if (mtmp->mhp <= 0)
|
||||
if (DEADMONSTER(mtmp))
|
||||
return (struct permonst *) 0;
|
||||
|
||||
/* note: none of the monsters with special hit point calculations
|
||||
|
||||
Reference in New Issue
Block a user