fixed two bad validations of FName's.

This commit is contained in:
Christoph Oelckers 2023-10-08 09:27:46 +02:00
parent 448ca88bfd
commit 56929833f0

View file

@ -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())