summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 10:40:43 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 10:40:43 -0600
commit87d388e09be6bf4a36178a3a2344c78fef4d06a1 (patch)
treeba303419aada80505141652e4a5530986fc9bd0d /crawl-ref/source/mon-util.cc
parenta70fa41dbe4a40c351d4b053734375f365b2e043 (diff)
downloadcrawl-ref-87d388e09be6bf4a36178a3a2344c78fef4d06a1.tar.gz
crawl-ref-87d388e09be6bf4a36178a3a2344c78fef4d06a1.zip
Replace mons_is_magic_user() with monsters::is_magic_user().
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc5
1 files changed, 0 insertions, 5 deletions
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)