Skip to content

Commit

Permalink
- make clang happy
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle authored and coelckers committed Oct 1, 2023
1 parent a53d3d6 commit 99fac23
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/console/c_cmds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ CCMD (mapinfo)
return;
}

Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName);
Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName.GetChars());

if (myLevel->LevelName.IsNotEmpty())
Printf(" LevelName: %s\n", testlocalised(myLevel->LevelName));
Expand All @@ -1316,10 +1316,10 @@ CCMD (mapinfo)
Printf(" LevelNum: %i\n", myLevel->levelnum);

if (myLevel->NextMap.IsNotEmpty())
Printf(" Next: %s\n", myLevel->NextMap);
Printf(" Next: %s\n", myLevel->NextMap.GetChars());

if (myLevel->NextSecretMap.IsNotEmpty())
Printf(" SecretNext: %s\n", myLevel->NextSecretMap);
Printf(" SecretNext: %s\n", myLevel->NextSecretMap.GetChars());

if (myLevel->Music.IsNotEmpty())
Printf(" Music: %s\n", testlocalised(myLevel->Music));
Expand All @@ -1330,21 +1330,21 @@ CCMD (mapinfo)
Printf(" Redirect (Item): %s\n", myLevel->RedirectType.GetChars());

if (myLevel->RedirectMapName.IsNotEmpty())
Printf(" Redirect (Map): %s\n", myLevel->RedirectMapName);
Printf(" Redirect (Map): %s\n", myLevel->RedirectMapName.GetChars());

if (myLevel->RedirectCVAR.GetChars())
Printf("CVAR_Redirect (CVAR): %s\n", myLevel->RedirectCVAR.GetChars());

if (myLevel->RedirectCVARMapName.IsNotEmpty())
Printf(" CVAR_Redirect (Map): %s\n", myLevel->RedirectCVARMapName);
Printf(" CVAR_Redirect (Map): %s\n", myLevel->RedirectCVARMapName.GetChars());

Printf(" LightMode: %i\n", (int8_t)myLevel->lightmode);

if (players[consoleplayer].mo && players[consoleplayer].mo->Level)
{
level_info_t *check = myLevel->CheckLevelRedirect();
if (check)
Printf("Level IS currently being redirected to '%s'!\n", check->MapName);
Printf("Level IS currently being redirected to '%s'!\n", check->MapName.GetChars());
else
Printf("Level is currently NOT being redirected!\n");
}
Expand Down

0 comments on commit 99fac23

Please sign in to comment.