diff options
author | Eino Keskitalo <evktalo@users.sourceforge.net> | 2009-11-07 16:30:52 +0200 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-07 23:21:21 -0600 |
commit | 1c0a611a9e00fc789a8e71f1423e48bec7dd5020 (patch) | |
tree | b73d3be502e13ec1bb56e89e5382fd14f71a74ba /crawl-ref/source/monster.h | |
parent | ee4d8d69cdded564187651f879b618a4fc2538f9 (diff) | |
download | crawl-ref-1c0a611a9e00fc789a8e71f1423e48bec7dd5020.tar.gz crawl-ref-1c0a611a9e00fc789a8e71f1423e48bec7dd5020.zip |
Merge from chaotic_experiment branch:
Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r-- | crawl-ref/source/monster.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h index 16bdfe7afe..00e6186747 100644 --- a/crawl-ref/source/monster.h +++ b/crawl-ref/source/monster.h @@ -146,6 +146,9 @@ public: // can be silenced, etc. bool is_actual_spellcaster() const; + // Has ENCH_SHAPESHIFTER or ENCH_GLOWING_SHAPESHIFTER. + bool is_shapeshifter() const; + bool has_ench(enchant_type ench) const; bool has_ench(enchant_type ench, enchant_type ench2) const; mon_enchant get_ench(enchant_type ench, |