From 0fb28d6c1b82e6c10e00c4cc9b946eb010d65017 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 6 Oct 2008 02:51:44 +0000 Subject: Expand handling of monster intelligence and zombifiability to work on the level of individual monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7148 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index a968f7de85..5535607f41 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -633,7 +633,7 @@ bool cast_summon_horrible_things(int pow, god_type god) static bool _is_animatable_corpse(const item_def& item) { return (item.base_type == OBJ_CORPSES - && mons_zombie_size(item.plus) != Z_NOZOMBIE); + && mons_class_can_be_zombified(item.plus)); } // Try to equip the zombie/skeleton with the objects it died with. -- cgit v1.2.3-54-g00ecf