summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.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/traps.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/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index 40ad762116..3db80ac806 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -828,7 +828,7 @@ void remove_net_from(monsters *mon)
// factor in whether monster is paralysed or invisible
int paralys = 0;
- if (mons_is_paralysed(mon)) // makes this easier
+ if (mon->paralysed()) // makes this easier
paralys = random2(5);
int invis = 0;