summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-06 11:48:29 +0300
committerRobert Vollmert <rvollmert@gmx.net>2009-11-06 09:56:26 +0100
commit37dddc69c063b655d028bdb33e5ab831b4af8a55 (patch)
tree55f621318adec99bda23eb02da3f8895381cd80e /crawl-ref/source/mon-act.cc
parentdbdfb48c0639aa101f25d210496e66bd6326873b (diff)
downloadcrawl-ref-37dddc69c063b655d028bdb33e5ab831b4af8a55.tar.gz
crawl-ref-37dddc69c063b655d028bdb33e5ab831b4af8a55.zip
Add actor::petrified, which replaces mons_is_petrified.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
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);