summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-abil.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/mon-abil.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/mon-abil.cc')
-rw-r--r--crawl-ref/source/mon-abil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc
index 1742d00860..7152d78eed 100644
--- a/crawl-ref/source/mon-abil.cc
+++ b/crawl-ref/source/mon-abil.cc
@@ -330,7 +330,7 @@ static bool _disabled_slime(monsters *thing)
return (!thing
|| mons_is_fleeing(thing)
|| mons_is_confused(thing)
- || mons_is_paralysed(thing));
+ || thing->paralysed());
}
// See if there are any appropriate adjacent slime creatures for 'thing'