git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6660 c06c8d41-db1a-0410-9941-cceddc491573
DPJBWGZZPH6WNIHLLENQBL3EO2WKHEOPAF777ROBCYBNK6DY5KDQC
TK2DI6PDNMQWV3WGYEFTRNITLFJ6YXSEMKRDP3FIFGS4W4LSPSMQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
KQNIGKATHT4YSPJFPJGIGPD6VNR5B753SE2JN2LCXZZJNHCGY3DQC
bool warned = false;
mprf(MSGCH_WARN, "Bogosity: mgrd at %d,%d points at %s, but monster is at %d,%d",
mprf(MSGCH_WARN, "Bogosity: mgrd at %d,%d points at %s, " "but monster is at %d,%d",
mprf(MSGCH_WARN,
"Bogosity: mgrd at %d,%d points at %s, "
"but monster is at %d,%d",
warned = true;
} for (int i = 0; i < MAX_MONSTERS; ++i) { const monsters *m = &menv[i]; if (!m->alive()) continue; if (mgrd(m->pos()) != i) { mprf(MSGCH_WARN, "Floating monster: %s at (%d,%d)", m->name(DESC_PLAIN).c_str(), m->x, m->y); warned = true;
}
for (int i = 0; i < MAX_MONSTERS; ++i)
{
const monsters *m = &menv[i];
if (!m->alive())
continue;
if (mgrd(m->pos()) != i)
mprf(MSGCH_WARN, "Floating monster: %s at (%d,%d)",
m->name(DESC_PLAIN).c_str(), m->x, m->y);
} // If there are warnings, force the dev to notice. :P if (warned) more();
// If there are warnings, force the dev to notice. :P
if (warned)
more();