summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-speak.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-06-22 20:40:39 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-22 20:40:39 -0700
commit49c5cce947c7e85d200575c7f1caa23857d68738 (patch)
tree160acead9e00994992e03c03238c06152d55c564 /crawl-ref/source/mon-speak.cc
parent0d434d8aa6ce3d7f5e6a5e2565945e7348b9d5bc (diff)
downloadcrawl-ref-49c5cce947c7e85d200575c7f1caa23857d68738.tar.gz
crawl-ref-49c5cce947c7e85d200575c7f1caa23857d68738.zip
Re-enable, and fix, DEBUG_MONSPEAK
Diffstat (limited to 'crawl-ref/source/mon-speak.cc')
-rw-r--r--crawl-ref/source/mon-speak.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/mon-speak.cc b/crawl-ref/source/mon-speak.cc
index b85b3b4f5c..ab130c47f3 100644
--- a/crawl-ref/source/mon-speak.cc
+++ b/crawl-ref/source/mon-speak.cc
@@ -623,7 +623,7 @@ bool mons_speaks(monster* mons)
}
// If the monster was originally a unique which has been polymorphed
- // into a non-unique, is its current monter type capable of using its
+ // into a non-unique, is its current monster type capable of using its
// old speech?
if (!mons->mname.empty() && mons->can_speak() && msg.empty())
{
@@ -657,7 +657,7 @@ bool mons_speaks(monster* mons)
if (msg == "__NONE")
{
#ifdef DEBUG_MONSPEAK
- mpr("result: \"__NONE\"!", MSGCH_DIAGNOSTICS);
+ mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!");
#endif
return false;
}
@@ -686,7 +686,7 @@ bool mons_speaks(monster* mons)
if (msg == "__NONE")
{
#ifdef DEBUG_MONSPEAK
- mpr("result: \"__NONE\"!", MSGCH_DIAGNOSTICS);
+ mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!");
#endif
return false;
}
@@ -742,7 +742,7 @@ bool mons_speaks(monster* mons)
if (msg == "__NONE")
{
#ifdef DEBUG_MONSPEAK
- mpr("result: \"__NONE\"!", MSGCH_DIAGNOSTICS);
+ mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!");
#endif
return false;
}
@@ -773,7 +773,7 @@ bool mons_speaks(monster* mons)
if (msg == "__NONE" && msg2 == "__NONE")
{
#ifdef DEBUG_MONSPEAK
- mpr("result: \"__NONE\"!", MSGCH_DIAGNOSTICS);
+ mprf(MSGCH_DIAGNOSTICS, "result: \"__NONE\"!");
#endif
return false;
}