diff options
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index 7ecf54e064..afc854960a 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -514,6 +514,14 @@ static void mpr_check_patterns(const std::string& message, { for (unsigned i = 0; i < Options.note_messages.size(); ++i) { + if (channel == MSGCH_EQUIPMENT || channel == MSGCH_FLOOR_ITEMS + || channel == MSGCH_MULTITURN_ACTION + || channel == MSGCH_EXAMINE || channel == MSGCH_EXAMINE_FILTER + || channel == MSGCH_TUTORIAL) + { + continue; + } + if (Options.note_messages[i].matches(message)) { take_note(Note( NOTE_MESSAGE, channel, param, message.c_str() )); |