summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 39bd660f72..9f86c9368a 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -2182,5 +2182,6 @@ void xom_check_destroyed_item(const item_def& item, int cause)
void xom_death_message()
{
- god_speaks(GOD_XOM, _get_xom_speech("laughter").c_str());
+ if (you.religion == GOD_XOM)
+ god_speaks(GOD_XOM, _get_xom_speech("laughter").c_str());
}