U675 fix
if the monster that a statue represents is not made of flesh then don't allow stone_to_flesh to animate it, make a meatball instead
This commit is contained in:
@@ -33,6 +33,8 @@ more tweaks to fog cloud behavior
|
|||||||
when dismounting by choice and unimpaired, try not to land on a boulder
|
when dismounting by choice and unimpaired, try not to land on a boulder
|
||||||
casting stone-to-flesh on self while wielding a statue caused problems
|
casting stone-to-flesh on self while wielding a statue caused problems
|
||||||
add tab support to menu strings for control-x minimal_enlightenment()
|
add tab support to menu strings for control-x minimal_enlightenment()
|
||||||
|
if the monster that a statue represents is not made of flesh then don't
|
||||||
|
allow stone_to_flesh to animate it, make a meatball instead
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1599,6 +1599,11 @@ struct obj *obj, *otmp;
|
|||||||
|
|
||||||
(void) get_obj_location(obj, &oox, &ooy, 0);
|
(void) get_obj_location(obj, &oox, &ooy, 0);
|
||||||
refresh_x = oox; refresh_y = ooy;
|
refresh_x = oox; refresh_y = ooy;
|
||||||
|
if (vegetarian(&mons[obj->corpsenm])) {
|
||||||
|
/* Don't animate monsters that aren't flesh */
|
||||||
|
obj = poly_obj(obj, MEATBALL);
|
||||||
|
goto smell;
|
||||||
|
}
|
||||||
if (!animate_statue(obj, oox, ooy,
|
if (!animate_statue(obj, oox, ooy,
|
||||||
ANIMATE_SPELL, (int *)0)) {
|
ANIMATE_SPELL, (int *)0)) {
|
||||||
struct obj *item;
|
struct obj *item;
|
||||||
@@ -1632,6 +1637,11 @@ makecorpse: if (mons[obj->corpsenm].geno &
|
|||||||
res = 0;
|
res = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (vegetarian(&mons[obj->corpsenm])) {
|
||||||
|
/* Don't animate monsters that aren't flesh */
|
||||||
|
obj = poly_obj(obj, MEATBALL);
|
||||||
|
goto smell;
|
||||||
|
}
|
||||||
(void) get_obj_location(obj, &oox, &ooy, 0);
|
(void) get_obj_location(obj, &oox, &ooy, 0);
|
||||||
refresh_x = oox; refresh_y = ooy;
|
refresh_x = oox; refresh_y = ooy;
|
||||||
mon = makemon(&mons[obj->corpsenm],
|
mon = makemon(&mons[obj->corpsenm],
|
||||||
|
|||||||
Reference in New Issue
Block a user