summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 102eb0cbf7..28a0437b8e 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -632,7 +632,8 @@ static bool _mons_hostile(const monsters *mon)
static bool _can_pacify_monster(const monsters *mon, const int healed)
{
- ASSERT(you.religion == GOD_ELYVILON);
+ if (you.religion != GOD_ELYVILON)
+ return (false);
if (healed < 1)
return (false);