Merge branch 'toss_up_fix' of https://github.com/mkuoppal/NetHack into NetHack-3.7
This commit is contained in:
@@ -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 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user