From 5d78f4fbac5120ebee12c73624ded022abc3c933 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sun, 8 Nov 2009 15:57:39 +0300 Subject: Replace mons_cannot_act with monsters::cannot_act. --- crawl-ref/source/mon-act.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-act.cc') 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; -- cgit v1.2.3-54-g00ecf