From 87d388e09be6bf4a36178a3a2344c78fef4d06a1 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 10 Nov 2009 10:40:43 -0600 Subject: Replace mons_is_magic_user() with monsters::is_magic_user(). --- crawl-ref/source/mon-util.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crawl-ref/source/mon-util.cc') diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index a65be33321..8f35a290e5 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -2534,11 +2534,6 @@ static bool _ms_ranged_spell(spell_type monspell, bool attack_only = false, } } -bool mons_is_magic_user(const monsters *mon) -{ - return (mon->is_actual_spellcaster() && mon->has_spells()); -} - // Returns true if the monster has an ability that only needs LOS to // affect the target. bool mons_has_los_ability(int mclass) -- cgit v1.2.3-54-g00ecf