diff options
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 8a147e1c25..3f4e706d27 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -2953,11 +2953,9 @@ void print_wounds(const monsters *monster) static bool _wounded_damaged(monster_type mon_type) { // this schema needs to be abstracted into real categories {dlb}: - const mon_holy_type holy = mons_class_holiness(mon_type); - if (holy == MH_UNDEAD || holy == MH_NONLIVING || holy == MH_PLANT) - return (true); + const mon_holy_type holi = mons_class_holiness(mon_type); - return (false); + return (holi == MH_UNDEAD || holi == MH_NONLIVING || holi == MH_PLANT); } //--------------------------------------------------------------- |