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/mon-act.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/mon-act.cc')
-rw-r--r-- | crawl-ref/source/mon-act.cc | 2 |
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. |