diff options
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r-- | crawl-ref/source/state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc index aeb3739d1d..f7b5d5f83e 100644 --- a/crawl-ref/source/state.cc +++ b/crawl-ref/source/state.cc @@ -241,7 +241,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai, const monsters* mon = static_cast<const monsters*>(at.data); if (mons_class_flag(mon->type, M_NO_EXP_GAIN) - && player_monster_visible(mon)) + && mon->visible_to(&you)) { return (false); } |