From 56929833f03e01a2c4a5426f1dc9b4e54677e2f1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 8 Oct 2023 09:27:46 +0200 Subject: [PATCH] fixed two bad validations of FName's. --- src/console/c_cmds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index af88ce41ed..0a54fde262 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -1326,13 +1326,13 @@ CCMD (mapinfo) Printf(" PixelStretch: %f\n", myLevel->pixelstretch); - if (myLevel->RedirectType.GetChars()) + if (myLevel->RedirectType != NAME_None) Printf(" Redirect (Item): %s\n", myLevel->RedirectType.GetChars()); if (myLevel->RedirectMapName.IsNotEmpty()) Printf(" Redirect (Map): %s\n", myLevel->RedirectMapName.GetChars()); - if (myLevel->RedirectCVAR.GetChars()) + if (myLevel->RedirectCVAR != NAME_None) Printf("CVAR_Redirect (CVAR): %s\n", myLevel->RedirectCVAR.GetChars()); if (myLevel->RedirectCVARMapName.IsNotEmpty())