summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-08 17:04:18 -0400
committerNeil Moore <neil@s-z.org>2014-07-08 17:17:34 -0400
commitbc841a2a9115e308279fae3ce0c871fd6d054942 (patch)
treeb1473df1fa14f300507844a19bc8e49f6f273227 /crawl-ref/source/database.cc
parent3bc2141fe0c8a37921589eb8ce8f19ff18cd9b85 (diff)
downloadcrawl-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/database.cc')
-rw-r--r--crawl-ref/source/database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index 842f3f8cce..a1a70536ad 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -825,7 +825,7 @@ string getSpeakString(const string &key)
int num_replacements = 0;
#ifdef DEBUG_MONSPEAK
- dprf("monster speech lookup for %s", key.c_str());
+ dprf(DIAG_SPEECH, "monster speech lookup for %s", key.c_str());
#endif
string txt = _getRandomisedStr(SpeakDB, key, "", num_replacements);
_execute_embedded_lua(txt);