diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-31 16:29:22 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-31 16:29:22 -0500 |
commit | 5b0503840d4c37935ebd18004e4507e15fba1e0a (patch) | |
tree | 9c0db8cdd26ffbbf1025e331f99cd8c6b00d6022 /crawl-ref/source/monstuff.cc | |
parent | 36c1e052d3abd19d754f70d03f5fab70ba2422a5 (diff) | |
download | crawl-ref-5b0503840d4c37935ebd18004e4507e15fba1e0a.tar.gz crawl-ref-5b0503840d4c37935ebd18004e4507e15fba1e0a.zip |
Add more minor cosmetic fixes.
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); } //--------------------------------------------------------------- |