- fix misleading indentation warnings in c_cmds.cpp with dummy if's

This commit is contained in:
Rachael Alexanderson 2025-08-12 05:21:28 -04:00
commit b90da3c187
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -1365,6 +1365,7 @@ CCMD (mapinfo)
if (myLevel->Music.IsNotEmpty())
Printf(" Music: %s%s\n", myLevel->Music[0] == '$'? "D_" : "", testlocalised(myLevel->Music.GetChars()));
if (myLevel->pixelstretch != 0.0) // yes, we're making a dummy if statement to fix the misleading indentation warnings
Printf(" PixelStretch: %f\n", myLevel->pixelstretch);
if (myLevel->RedirectType != NAME_None)
@ -1379,6 +1380,7 @@ CCMD (mapinfo)
if (myLevel->RedirectCVARMapName.IsNotEmpty())
Printf(" CVAR_Redirect (Map): %s\n", myLevel->RedirectCVARMapName.GetChars());
if ((int8_t)myLevel->lightmode != -128) // yes, we're making a dummy if statement to fix the misleading indentation warnings
Printf(" LightMode: %i\n", (int8_t)myLevel->lightmode);
if (players[consoleplayer].mo && players[consoleplayer].mo->Level)