diff --git a/include/obj.h b/include/obj.h index f138f4eae..abdd3c735 100644 --- a/include/obj.h +++ b/include/obj.h @@ -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) \ diff --git a/src/mon.c b/src/mon.c index a59a8a93f..da6efd321 100644 --- a/src/mon.c +++ b/src/mon.c @@ -1632,7 +1632,7 @@ meatcorpse( /* skip some corpses */ if (vegan(corpsepm) /* ignore veggy corpse even if omnivorous */ /* don't eat harmful corpses */ - || (touch_petrifies(corpsepm) && !resists_ston(mtmp))) + || (flesh_petrifies(corpsepm) && !resists_ston(mtmp))) continue; if (is_rider(corpsepm)) { boolean revived_it = revive_corpse(otmp);