summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-07 22:24:48 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-07 22:24:48 -0600
commit4915a3d61f5c92669121713d4744fb60036dac2f (patch)
tree5a35d090d5b236da9dfca1c4e5ab8ab09aac32a1 /crawl-ref/source/player.cc
parent6b3f882a81bae89affecdcba5e24df1fb51e8cf4 (diff)
downloadcrawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.tar.gz
crawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.zip
Remove mons_is_holy(), as it's redundant.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 3813727c25..0c6725c3da 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6479,7 +6479,7 @@ int player::res_holy_energy(const actor *attacker) const
if (is_unholy())
return (-2);
- if (is_good_god(religion))
+ if (is_good_god(religion) || holiness() == MH_HOLY)
return (1);
return (0);