From 5b0503840d4c37935ebd18004e4507e15fba1e0a Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 31 Oct 2009 16:29:22 -0500 Subject: Add more minor cosmetic fixes. --- crawl-ref/source/monstuff.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') 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); } //--------------------------------------------------------------- -- cgit v1.2.3-54-g00ecf