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 ebd07d6fcf..12dd4bb1ad 100644
--- a/crawl-ref/source/mon-act.cc
+++ b/crawl-ref/source/mon-act.cc
@@ -1855,7 +1855,7 @@ static void _handle_monster_move(monsters *monster)
// Struggling against the net takes time.
_swim_or_move_energy(monster);
}
- else if (!mons_is_petrified(monster))
+ else if (!monster->petrified())
{
// Calculates mmov based on monster target.
_handle_movement(monster);