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.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index aa80692a37..d5eaa1880e 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -114,10 +114,10 @@ static const char* _get_xom_speech(const std::string key)
if (result.empty())
result = getSpeakString("Xom general effect");
-
+
if (!result.empty())
return (result.c_str());
-
+
return ("Xom makes something happen.");
}
@@ -532,6 +532,7 @@ static bool xom_is_good(int sever)
|| (!is_demonic && hostiletype == 2))
{
mon->attitude = ATT_HOSTILE;
+ behaviour_event(mon, ME_ALERT, MHITYOU);
}
}
}