git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3650 c06c8d41-db1a-0410-9941-cceddc491573
IXOB6KSQY3CWTXS3LLNDWLVMNK6CV2MCXJAR5CJLNNX4ZOLAMV6QC // what they are a simulacrum/zombie of, which we currently// aren't smart enough to handle.|| new_mclass == MONS_SIMULACRUM_LARGE|| new_mclass == MONS_SIMULACRUM_SMALL|| new_mclass == MONS_ZOMBIE_SMALL|| new_mclass == MONS_ZOMBIE_LARGE
// what they are a skeleton/zombie/simulacrum/spectral thing of,// which we currently aren't smart enough to handle.|| mons_class_is_zombified(new_mclass)
if (monster->type == MONS_ZOMBIE_SMALL|| monster->type == MONS_ZOMBIE_LARGE|| monster->type == MONS_SIMULACRUM_SMALL|| monster->type == MONS_SIMULACRUM_LARGE|| monster->type == MONS_SKELETON_SMALL|| monster->type == MONS_SKELETON_LARGE)
if (mons_is_zombified(monster)&& monster->type != MONS_SPECTRAL_THING)
if (monster->type == MONS_ZOMBIE_SMALL|| monster->type == MONS_ZOMBIE_LARGE|| monster->type == MONS_SIMULACRUM_SMALL|| monster->type == MONS_SIMULACRUM_LARGE|| monster->type == MONS_SKELETON_SMALL|| monster->type == MONS_SKELETON_LARGE|| monster->type == MONS_SPECTRAL_THING)
if (mons_is_zombified(monster))
if (mon_type == MONS_ZOMBIE_SMALL|| mon_type == MONS_ZOMBIE_LARGE|| mon_type == MONS_SIMULACRUM_SMALL|| mon_type == MONS_SIMULACRUM_LARGE|| mon_type == MONS_SKELETON_SMALL|| mon_type == MONS_SKELETON_LARGE|| mon_type == MONS_SPECTRAL_THING)
if (mons_class_is_zombified(mon_type))
switch (monster->type){case MONS_ZOMBIE_SMALL: case MONS_ZOMBIE_LARGE:case MONS_SKELETON_SMALL: case MONS_SKELETON_LARGE:case MONS_SIMULACRUM_SMALL: case MONS_SIMULACRUM_LARGE:case MONS_SPECTRAL_THING:return (true);default:return (false);}
return mons_class_is_zombified(monster->type);