diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 01:21:01 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 01:21:01 +0000 |
commit | f028040d1cd1fecb0166b71c761adfd9b74a0f3b (patch) | |
tree | 184fd8b6c64a8987129773dbbb4f1cdd2397e138 /crawl-ref/source/monstuff.cc | |
parent | 09e033f34fd42c768341d9cdceda9a966d5190c4 (diff) | |
download | crawl-ref-f028040d1cd1fecb0166b71c761adfd9b74a0f3b.tar.gz crawl-ref-f028040d1cd1fecb0166b71c761adfd9b74a0f3b.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7568 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |