summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 507a57e837..82fa411e66 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -792,7 +792,7 @@ static void _xom_checks_damage(kill_method_type death_type,
if (!monster->alive())
return;
- if (mons_wont_attack(monster))
+ if (monster->wont_attack())
{
// Xom thinks collateral damage is funny.
xom_is_stimulated(255 * dam / (dam + you.hp));