diff options
-rw-r--r-- | crawl-ref/source/delay.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index b2e72c287f..0b954b25c5 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -971,6 +971,8 @@ inline static void monster_warning(activity_interrupt_type ai, if ( ai == AI_SEE_MONSTER && is_run_delay(atype) ) { const monsters* mon = static_cast<const monsters*>(at.data); + if (!mon->visible()) + return; #ifndef DEBUG_DIAGNOSTICS if (at.context != "uncharm") mprf(MSGCH_WARN, "%s comes into view.", |