save a few checks for st debug drawer

if we dont use it
This commit is contained in:
Alug committed 2025-08-07 22:27:28 +02:00
1 parent 2653b59af4
commit e85d91e682
1 file changed
+2 -1
+2 -1
View File
@@ -367,7 +367,7 @@ static void ST_drawDebugInfo(void)
{
INT32 height = 192;
if (!stplyr->mo)
if (!cv_debug || !stplyr->mo)
return;
if (cv_debug & DBG_BASIC)
@@ -803,5 +803,6 @@ void ST_Drawer(void)
else
V_DrawFadeScreen(120, 15-timeinmap); // Then gradually fade out from there
}
ST_drawDebugInfo();
}