From f028040d1cd1fecb0166b71c761adfd9b74a0f3b Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 24 Nov 2008 01:21:01 +0000 Subject: Simplify. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7568 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index e75feffe9b..0188a94e9d 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -533,7 +533,7 @@ static bool _ely_heals_monster(monsters *monster, killer_type killer, int i) ASSERT(you.religion != GOD_ELYVILON); god_type god = GOD_ELYVILON; - if (!you.penance[god] || !is_evil_god(you.religion)) + if (!you.penance[god] || !god_hates_your_god(god)) return (false); const int ely_penance = you.penance[god]; -- cgit v1.2.3-54-g00ecf