diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 15:57:39 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 15:57:39 +0300 |
commit | 5d78f4fbac5120ebee12c73624ded022abc3c933 (patch) | |
tree | 3094243a75f6b986c1677a4913e17f1d4eba8dfe /crawl-ref/source/mon-util.cc | |
parent | d43819dd4146ff9efa63da5bfdfd3995adb37a68 (diff) | |
download | crawl-ref-5d78f4fbac5120ebee12c73624ded022abc3c933.tar.gz crawl-ref-5d78f4fbac5120ebee12c73624ded022abc3c933.zip |
Replace mons_cannot_act with monsters::cannot_act.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 91f5094636..46583632f9 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -1938,12 +1938,6 @@ mon_attitude_type mons_attitude(const monsters *m) return ATT_HOSTILE; } -bool mons_cannot_act(const monsters *m) -{ - return (m->paralysed() - || m->petrified() && !m->petrifying()); -} - bool mons_is_confused(const monsters *m, bool class_too) { return (m->has_ench(ENCH_CONFUSION) |