summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-scan.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-09-15 05:16:28 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-09-15 18:56:18 +0200
commit7cc1082958c85fc8ef0b4470e53204200b7809b5 (patch)
treeef8b28cea527fe8bdc8647b4d07391f05f40c521 /crawl-ref/source/dbg-scan.cc
parent9e296d333b44b301a1d4f35081494c308f97164d (diff)
downloadcrawl-ref-7cc1082958c85fc8ef0b4470e53204200b7809b5.tar.gz
crawl-ref-7cc1082958c85fc8ef0b4470e53204200b7809b5.zip
Fix a reversed debug message.
It still fails just the same...
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r--crawl-ref/source/dbg-scan.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc
index 626f440b99..5e547eec7b 100644
--- a/crawl-ref/source/dbg-scan.cc
+++ b/crawl-ref/source/dbg-scan.cc
@@ -489,8 +489,8 @@ void debug_mons_scan()
{
mprf(MSGCH_ERROR, "Error: constricting[%s(mindex=%d mid=%d)] "
"entry missing for monster %s(mindex=%d mid=%d)",
- h->name(DESC_PLAIN, true).c_str(), h->mindex(), h->mid,
- m->name(DESC_PLAIN, true).c_str(), m->mindex(), m->mid);
+ m->name(DESC_PLAIN, true).c_str(), m->mindex(), m->mid,
+ h->name(DESC_PLAIN, true).c_str(), h->mindex(), h->mid);
}
}
} // for (int i = 0; i < MAX_MONSTERS; ++i)