Piranhas devour corpses.

This commit is contained in:
Kestrel Gregorich-Trevor
2022-08-11 08:26:06 +03:00
committed by Pasi Kallinen
parent a2a79a1250
commit 50adaff549
+2 -1
View File
@@ -1702,7 +1702,8 @@ m_move(register struct monst* mtmp, register int after)
} }
/* Maybe a purple worm ate a corpse */ /* Maybe a purple worm ate a corpse */
if (ptr == &mons[PM_PURPLE_WORM] if (ptr == &mons[PM_PURPLE_WORM]
|| ptr == &mons[PM_BABY_PURPLE_WORM]) { || ptr == &mons[PM_BABY_PURPLE_WORM]
|| ptr == &mons[PM_PIRANHA]) {
if ((etmp = meatcorpse(mtmp)) >= 2) if ((etmp = meatcorpse(mtmp)) >= 2)
return etmp; /* it died or got forced off the level */ return etmp; /* it died or got forced off the level */
} }