summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/arena.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc
index c89e328644..bb7d007661 100644
--- a/crawl-ref/source/arena.cc
+++ b/crawl-ref/source/arena.cc
@@ -654,6 +654,16 @@ namespace arena
std::string prefix;
switch (chan)
{
+ // Ignore messages generated while the user examines
+ // the arnea.
+ case MSGCH_PROMPT:
+ case MSGCH_MONSTER_DAMAGE:
+ case MSGCH_MONSTER_TARGET:
+ case MSGCH_FLOOR_ITEMS:
+ case MSGCH_EXAMINE:
+ case MSGCH_EXAMINE_FILTER:
+ continue;
+
case MSGCH_ERROR: prefix = "ERROR: "; break;
case MSGCH_WARN: prefix = "WARN: "; break;
case MSGCH_DIAGNOSTICS: prefix = "DIAG: "; break;