From 1c0a611a9e00fc789a8e71f1423e48bec7dd5020 Mon Sep 17 00:00:00 2001 From: Eino Keskitalo Date: Sat, 7 Nov 2009 16:30:52 +0200 Subject: Merge from chaotic_experiment branch: Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc --- crawl-ref/source/monster.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/monster.h') 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, -- cgit v1.2.3-54-g00ecf