demote WI_drawOnLnode() logging to debug (#1373)

* demote WI_drawOnLnode() logging to debug

* remove redundant checks
This commit is contained in:
Fabian Greffrath 2024-01-05 17:13:04 +01:00 committed by GitHub
parent 7d1cee03bc
commit dd4e2b55b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -565,16 +565,16 @@ WI_drawOnLnode // draw stuff at a location by episode/map#
else
i++;
}
while (!fits && i!=2 && c[i]);
while (!fits && c[i]);
if (fits && i<2)
if (fits)
{
V_DrawPatch(lnodes[wbs->epsd][n].x, lnodes[wbs->epsd][n].y, c[i]);
}
else
{
// DEBUG
I_Printf(VB_WARNING, "Could not place patch on level %d", n+1);
I_Printf(VB_DEBUG, "Could not place patch on level %d", n+1);
}
}