summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-09-13 07:13:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-09-13 07:13:30 +0200
commite5f0be714222620701b36ee5cc7bed69b78eb56d (patch)
treef6f152d78b1254ce6ba96d51c9f0d24410a33cb2 /crawl-ref/source/monster.h
parenta2d0eab8a23003d8b096265efd7b4c76303b2dac (diff)
downloadcrawl-ref-e5f0be714222620701b36ee5cc7bed69b78eb56d.tar.gz
crawl-ref-e5f0be714222620701b36ee5cc7bed69b78eb56d.zip
Move mons_is_stationary() to struct actor.
Simplifies code in a number of places, and also fixes a few tree-moving bugs.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index 82946ebf64..47b42af87e 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -308,6 +308,7 @@ public:
bool can_safely_mutate() const;
bool can_polymorph() const;
bool can_bleed(bool allow_tran = true) const;
+ bool is_stationary() const;
bool malmutate(const string &reason);
bool polymorph(int pow);
void banish(actor *agent, const string &who = "");