summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/xom.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 3372d8dc1b..d6d0b5dc8c 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -580,7 +580,7 @@ static bool xom_is_good(int sever)
// If it's not a demon, Xom got it someplace else, so use
// different messages below.
- if (is_demonic)
+ if (!is_demonic)
different = true;
// Mark non-demons hostile as appropriate.
@@ -658,7 +658,7 @@ static bool xom_is_good(int sever)
// If it's not a demon, Xom got it someplace else, so use
// different messages below.
- if (is_demonic)
+ if (!is_demonic)
different = true;
// Mark non-demons hostile as appropriate.