diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 4742f0a1fe..bfb310aab0 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -5028,10 +5028,10 @@ void monsters::remove_enchantment_effect(const mon_enchant &me, bool quiet) } case ENCH_ABJ: case ENCH_SHORT_LIVED: - add_ench( mon_enchant(ENCH_ABJ) ); + add_ench(mon_enchant(ENCH_ABJ)); // just for flavour - if ((this->flags & MF_GOD_GIFT) && this->has_ench(ENCH_BERSERK)) + if (testbits(this->flags, MF_GOD_GIFT) && this->has_ench(ENCH_BERSERK)) simple_monster_message(this, " is no longer berserk."); monster_die( this, quiet? KILL_DISMISSED : KILL_RESET, 0 ); |