mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed: The 'secret' CCMD used FStrings directly as printf parameters.
SVN r3024 (trunk)
This commit is contained in:
parent
d54ee47656
commit
092f53d875
1 changed files with 2 additions and 2 deletions
|
@ -1030,10 +1030,10 @@ CCMD(secret)
|
|||
{
|
||||
FString levelname;
|
||||
level_info_t *info = FindLevelInfo(mapname);
|
||||
levelname.Format("%s - %s\n", mapname, info->LevelName);
|
||||
levelname.Format("%s - %s\n", mapname, info->LevelName.GetChars());
|
||||
size_t llen = levelname.Len() - 1;
|
||||
for(size_t ii=0; ii<llen; ii++) levelname += '-';
|
||||
Printf(TEXTCOLOR_YELLOW"%s\n", levelname);
|
||||
Printf(TEXTCOLOR_YELLOW"%s\n", levelname.GetChars());
|
||||
foundsome = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue