Merge branch 'toss_up_fix' of https://github.com/mkuoppal/NetHack into NetHack-3.7

This commit is contained in:
nhmall
2024-01-11 12:04:38 -05:00
+1
View File
@@ -1263,6 +1263,7 @@ toss_up(struct obj *obj, boolean hitsroof)
const char *action; const char *action;
int otyp = obj->otyp; int otyp = obj->otyp;
boolean petrifier = ((otyp == EGG || otyp == CORPSE) boolean petrifier = ((otyp == EGG || otyp == CORPSE)
&& obj->corpsenm >= LOW_PM
&& touch_petrifies(&mons[obj->corpsenm])); && touch_petrifies(&mons[obj->corpsenm]));
/* note: obj->quan == 1 */ /* note: obj->quan == 1 */