summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-10 21:21:26 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-10 21:22:32 -0600
commit9b6c9948161b4ee44256d1775d3cad1a7d6db943 (patch)
tree38939aa1016f862f8cefc7c06b6bd25975542a9d /crawl-ref/source/initfile.cc
parent762d21af96ae76fd55c9aa040d09d9a8baa35852 (diff)
downloadcrawl-ref-9b6c9948161b4ee44256d1775d3cad1a7d6db943.tar.gz
crawl-ref-9b6c9948161b4ee44256d1775d3cad1a7d6db943.zip
Give monster warnings their own channel.
People who like setting force_mores on this can thus do so with one line for all possible variants on the message.
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 806047a997..83e25dbe8b 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -165,7 +165,7 @@ static const string message_channel_names[] =
"friend_spell", "friend_enchant", "monster_damage", "monster_target",
"banishment", "rotten_meat", "equipment", "floor", "multiturn", "examine",
"examine_filter", "diagnostic", "error", "tutorial", "orb", "timed_portal",
- "hell_effect",
+ "hell_effect", "monster_warning",
};
// returns -1 if unmatched else returns 0--(NUM_MESSAGE_CHANNELS-1)