a couple more monst food bits
Fix misleading indentation that the polyfood() macro inherited from the misformated polyfodder() macro. Fix a case where a non-pet monster would avoid eating a cockatrice corpse but would eat Medusa's corpse.
This commit is contained in:
@@ -309,7 +309,7 @@ struct obj {
|
||||
#define polyfood(obj) \
|
||||
(ofood(obj) && (obj)->corpsenm >= LOW_PM \
|
||||
&& (pm_to_cham((obj)->corpsenm) != NON_PM \
|
||||
|| dmgtype(&mons[(obj)->corpsenm], AD_POLY)))
|
||||
|| dmgtype(&mons[(obj)->corpsenm], AD_POLY)))
|
||||
#define mlevelgain(obj) (ofood(obj) && (obj)->corpsenm == PM_WRAITH)
|
||||
#define mhealup(obj) (ofood(obj) && (obj)->corpsenm == PM_NURSE)
|
||||
#define Is_pudding(o) \
|
||||
|
||||
Reference in New Issue
Block a user