diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-07 22:24:48 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-07 22:24:48 -0600 |
commit | 4915a3d61f5c92669121713d4744fb60036dac2f (patch) | |
tree | 5a35d090d5b236da9dfca1c4e5ab8ab09aac32a1 /crawl-ref/source/xom.cc | |
parent | 6b3f882a81bae89affecdcba5e24df1fb51e8cf4 (diff) | |
download | crawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.tar.gz crawl-ref-4915a3d61f5c92669121713d4744fb60036dac2f.zip |
Remove mons_is_holy(), as it's redundant.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 8cd082be50..121075fae4 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -952,7 +952,7 @@ static bool _choose_chaos_upgrade(const monsters* mon) // Holy beings are presumably protected by another god, unless // they're gifts from a chaotic god. - if (mons_is_holy(mon) && !is_chaotic_god(mon->god)) + if (mon->holiness() == MH_HOLY && !is_chaotic_god(mon->god)) return (false); // God gifts from good gods will be protected by their god from |