From 4915a3d61f5c92669121713d4744fb60036dac2f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 7 Nov 2009 22:24:48 -0600 Subject: Remove mons_is_holy(), as it's redundant. --- crawl-ref/source/xom.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/xom.cc') 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 -- cgit v1.2.3-54-g00ecf