diff options
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index cfcc31cd54..d18060aa54 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -784,7 +784,7 @@ static void _xom_checks_damage(kill_method_type death_type, // creature of lower level than yourself. amusementvalue += leveldif * leveldif * dam; - if (!player_monster_visible(monster)) + if (!monster->visible_to(&you)) amusementvalue += 10; if (monster->speed < 100/player_movement_speed()) |