- fixed: The 'secret' CCMD used FStrings directly as printf parameters.

SVN r3024 (trunk)
This commit is contained in:
Christoph Oelckers 2010-12-09 07:50:08 +00:00
parent d54ee47656
commit 092f53d875

View file

@ -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;
}
}