summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index b90ec290e3..af127e3e35 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4628,6 +4628,8 @@ void god_pitch(god_type which_god)
bool god_hates_your_god(god_type god,
god_type your_god)
{
+ ASSERT(god != your_god);
+
// Non-good gods always hate your current god.
if (!is_good_god(god))
return (true);