Clean up debug code

This commit is contained in:
Anders Jenbo 2021-06-28 00:34:21 +02:00
commit 5537fe748e
7 changed files with 34 additions and 55 deletions

View file

@ -767,7 +767,7 @@ static void scrollrt_draw_dungeon(const CelOutputBuffer &out, int sx, int sy, in
negMon = dMonster[sx][sy - 1];
#ifdef _DEBUG
if (visiondebug && bFlag & BFLAG_LIT) {
if (visiondebug && (bFlag & BFLAG_LIT) != 0) {
CelClippedDrawTo(out, { dx, dy }, *pSquareCel, 1);
}
#endif