diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index 12055ebca..0831c805f 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -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