mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 16:11:23 +00:00
fixed two bad validations of FName's.
This commit is contained in:
parent
448ca88bfd
commit
56929833f0
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue