summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.cc
diff options
context:
space:
mode:
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;