summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:51:58 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:51:58 +0300
commitd43819dd4146ff9efa63da5bfdfd3995adb37a68 (patch)
tree5a47bf62d77c879fca354d42ec1e29443e60894e /crawl-ref/source/monster.cc
parent63ee0e170c497f07f8b333e1611c3bc02e4e9fc2 (diff)
downloadcrawl-ref-d43819dd4146ff9efa63da5bfdfd3995adb37a68.tar.gz
crawl-ref-d43819dd4146ff9efa63da5bfdfd3995adb37a68.zip
Replace mons_cannot_move with monsters::cannot_move.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index ed32a9e951..9327548e89 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -2795,7 +2795,7 @@ bool monsters::cannot_act() const
bool monsters::cannot_move() const
{
- return (mons_cannot_move(this));
+ return (cannot_act() || petrifying());
}
bool monsters::asleep() const