summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-05 21:23:53 +0300
committerRobert Vollmert <rvollmert@gmx.net>2009-11-05 20:54:38 +0100
commit5cae6a4d1a66d74223cf4b6001b234d24be329d9 (patch)
treec72d5a4aad815ff6c2fda7b0c6c5ca7cd10ea4f0 /crawl-ref/source/spells4.cc
parent3b56c749239aef20773a7dde6e5fb726477dde48 (diff)
downloadcrawl-ref-5cae6a4d1a66d74223cf4b6001b234d24be329d9.tar.gz
crawl-ref-5cae6a4d1a66d74223cf4b6001b234d24be329d9.zip
Replace mons_is_paralysed with monsters::paralysed.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 7faa22b550..15566f5cf5 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -2101,7 +2101,7 @@ bool do_slow_monster(monsters* mon, kill_category whose_kill)
&& !mons_is_stationary(mon)
&& mon->add_ench(mon_enchant(ENCH_SLOW, 0, whose_kill)))
{
- if (!mons_is_paralysed(mon) && !mons_is_petrified(mon)
+ if (!mon->paralysed() && !mons_is_petrified(mon)
&& simple_monster_message(mon, " seems to slow down."))
{
return (true);