mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Correct the month used in automatic names of savegames created by the "save" CON command.
git-svn-id: https://svn.eduke32.com/eduke32@5135 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8834dfbc7d
commit
27e83829c9
1 changed files with 1 additions and 1 deletions
|
@ -3420,7 +3420,7 @@ nullquote:
|
|||
time_t curtime = time(NULL);
|
||||
struct tm *timeptr = localtime(&curtime);
|
||||
Bsnprintf(ud.savegame[g_lastSaveSlot], sizeof(ud.savegame[g_lastSaveSlot]), "Auto %.4d%.2d%.2d %.2d%.2d%.2d\n",
|
||||
timeptr->tm_year + 1900, timeptr->tm_mon, timeptr->tm_mday,
|
||||
timeptr->tm_year + 1900, timeptr->tm_mon + 1, timeptr->tm_mday,
|
||||
timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue