mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-03 09:22:31 +00:00
Move the "time" string in saved game comment into the LANGUAGE lump.
This commit is contained in:
parent
d276d15f26
commit
4eea540a30
2 changed files with 5 additions and 1 deletions
|
@ -2083,8 +2083,9 @@ static void PutSaveComment (FSerializer &arc)
|
|||
});
|
||||
|
||||
// Append elapsed time
|
||||
const char *const time = GStrings("SAVECOMMENT_TIME");
|
||||
levelTime = currentSession->time / TICRATE;
|
||||
comment.AppendFormat("time: %02d:%02d:%02d", levelTime/3600, (levelTime%3600)/60, levelTime%60);
|
||||
comment.AppendFormat("%s: %02d:%02d:%02d", time, levelTime/3600, (levelTime%3600)/60, levelTime%60);
|
||||
|
||||
// Write out the comment
|
||||
arc.AddString("Comment", comment);
|
||||
|
|
|
@ -856,6 +856,9 @@ STARTUP3 = "";
|
|||
STARTUP4 = "";
|
||||
STARTUP5 = "";
|
||||
|
||||
// Save file comment
|
||||
SAVECOMMENT_TIME = "time";
|
||||
|
||||
// Scoreboard text
|
||||
SCORE_ITEMS = "ITEMS";
|
||||
SCORE_BONUS = "BONUS";
|
||||
|
|
Loading…
Reference in a new issue