summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:57:39 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:57:39 +0300
commit5d78f4fbac5120ebee12c73624ded022abc3c933 (patch)
tree3094243a75f6b986c1677a4913e17f1d4eba8dfe /crawl-ref/source/mon-act.cc
parentd43819dd4146ff9efa63da5bfdfd3995adb37a68 (diff)
downloadcrawl-ref-5d78f4fbac5120ebee12c73624ded022abc3c933.tar.gz
crawl-ref-5d78f4fbac5120ebee12c73624ded022abc3c933.zip
Replace mons_cannot_act with monsters::cannot_act.
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
-rw-r--r--crawl-ref/source/mon-act.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc
index 31e094f37f..cba2447734 100644
--- a/crawl-ref/source/mon-act.cc
+++ b/crawl-ref/source/mon-act.cc
@@ -1762,7 +1762,7 @@ static void _handle_monster_move(monsters *monster)
_monster_regenerate(monster);
- if (mons_cannot_act(monster))
+ if (monster->cannot_act())
{
monster->speed_increment -= non_move_energy;
continue;