From b90da3c187c3c534bb50487b3307dcd39134175b Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 12 Aug 2025 05:21:28 -0400 Subject: [PATCH] - fix misleading indentation warnings in c_cmds.cpp with dummy if's --- src/console/c_cmds.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index e6eb3cca5..9a803b87e 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -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)