diff options
author | Neil Moore <neil@s-z.org> | 2014-07-08 17:04:18 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-08 17:17:34 -0400 |
commit | bc841a2a9115e308279fae3ce0c871fd6d054942 (patch) | |
tree | b1473df1fa14f300507844a19bc8e49f6f273227 /crawl-ref/source/mon-speak.cc | |
parent | 3bc2141fe0c8a37921589eb8ce8f19ff18cd9b85 (diff) | |
download | crawl-ref-bc841a2a9115e308279fae3ce0c871fd6d054942.tar.gz crawl-ref-bc841a2a9115e308279fae3ce0c871fd6d054942.zip |
Allow toggling monster speech diagnostics in &^Q
This is currently predicated on DEBUG_MONSPEAK, since all the relevant
messages are.
Diffstat (limited to 'crawl-ref/source/mon-speak.cc')
-rw-r--r-- | crawl-ref/source/mon-speak.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/mon-speak.cc b/crawl-ref/source/mon-speak.cc index ab130c47f3..02edbb762b 100644 --- a/crawl-ref/source/mon-speak.cc +++ b/crawl-ref/source/mon-speak.cc @@ -554,7 +554,7 @@ bool mons_speaks(monster* mons) prefix += prefixes[i]; prefix += " "; } - mprf(MSGCH_DIAGNOSTICS, "monster speech lookup for %s: prefix = %s", + dprf(DIAG_SPEECH, "monster speech lookup for %s: prefix = %s", mons->name(DESC_PLAIN).c_str(), prefix.c_str()); } #endif @@ -657,7 +657,7 @@ bool mons_speaks(monster* mons) if (msg == "__NONE") { #ifdef DEBUG_MONSPEAK - mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!"); + dprf(DIAG_SPEECH, "result: \"__NONE\"!"); #endif return false; } @@ -686,7 +686,7 @@ bool mons_speaks(monster* mons) if (msg == "__NONE") { #ifdef DEBUG_MONSPEAK - mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!"); + dprf(DIAG_SPEECH, "result: \"__NONE\"!"); #endif return false; } @@ -742,7 +742,7 @@ bool mons_speaks(monster* mons) if (msg == "__NONE") { #ifdef DEBUG_MONSPEAK - mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!"); + dprf(DIAG_SPEECH, "result: \"__NONE\"!"); #endif return false; } @@ -773,7 +773,7 @@ bool mons_speaks(monster* mons) if (msg == "__NONE" && msg2 == "__NONE") { #ifdef DEBUG_MONSPEAK - mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!"); + dprf(DIAG_SPEECH, "result: \"__NONE\"!"); #endif return false; } @@ -795,7 +795,7 @@ bool mons_speaks(monster* mons) if (msg.empty() || msg == "__NONE") { #ifdef DEBUG_MONSPEAK - mprf(MSGCH_DIAGNOSTICS, "final result: %s!", + dprf(DIAG_SPEECH, "final result: %s!", (msg.empty() ? "empty" : "\"__NONE\"")); #endif return false; |