From 64336d12b0e30861c3eb9d8a9262e328635c95a6 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 10 Nov 2009 11:02:43 -0600 Subject: Replace monsters::is_magic_user() with monsters::is_actual_spellcaster(), as it's simpler, and monsters with the "actual spells" flag should always have spells anyway. --- crawl-ref/source/monster.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crawl-ref/source/monster.cc') diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index ab4c212706..ae61c51364 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -3855,11 +3855,6 @@ bool monsters::is_actual_spellcaster() const return (flags & MF_ACTUAL_SPELLS); } -bool monsters::is_magic_user() const -{ - return (is_actual_spellcaster() && has_spells()); -} - bool monsters::is_shapeshifter() const { return (has_ench(ENCH_GLOWING_SHAPESHIFTER, ENCH_SHAPESHIFTER)); -- cgit v1.2.3-54-g00ecf