From a418d15295dfc484bdeef463ef6678424981b224 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 31 Oct 2009 15:08:00 -0500 Subject: Merge mons_holiness() into monster::holiness(), and add an is_unholy() convenience function. --- crawl-ref/source/spells1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 40fdc8bcf5..06225193b4 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -671,7 +671,7 @@ static bool _can_pacify_monster(const monsters *mon, const int healed) if (mons_intel(mon) <= I_PLANT) // no self-awareness return (false); - const mon_holy_type holiness = mons_holiness(mon); + const mon_holy_type holiness = mon->holiness(); if (holiness != MH_HOLY && holiness != MH_NATURAL -- cgit v1.2.3-54-g00ecf