summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.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/mon-act.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/mon-act.cc')
-rw-r--r--crawl-ref/source/mon-act.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc
index d83783f537..2547054527 100644
--- a/crawl-ref/source/mon-act.cc
+++ b/crawl-ref/source/mon-act.cc
@@ -288,7 +288,7 @@ static bool _mon_on_interesting_grid(monsters *mon)
// else fall through
case DNGN_ALTAR_ZIN:
case DNGN_ALTAR_SHINING_ONE:
- return (mons_is_holy(mon));
+ return (mon->holiness() == MH_HOLY);
// Orcs will tend to patrol around altars to Beogh, and guard the
// stairway from and to the Orcish Mines.