mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-25 13:41:41 +00:00
savegame to match more main repo
This commit is contained in:
parent
ce21ad2c16
commit
a395fadf07
1 changed files with 4 additions and 4 deletions
|
@ -795,10 +795,10 @@ WriteGame(const char *filename, qboolean autosave)
|
|||
/* Savegame identification */
|
||||
memset(&sv, 0, sizeof(sv));
|
||||
|
||||
strncpy(sv.ver, SAVEGAMEVER, sizeof(sv.ver) - 1);
|
||||
strncpy(sv.game, GAMEVERSION, sizeof(sv.game) - 1);
|
||||
strncpy(sv.os, YQ2OSTYPE, sizeof(sv.os) - 1);
|
||||
strncpy(sv.arch, YQ2ARCH, sizeof(sv.arch) - 1);
|
||||
Q_strlcpy(sv.ver, SAVEGAMEVER, sizeof(sv.ver) - 1);
|
||||
Q_strlcpy(sv.game, GAMEVERSION, sizeof(sv.game) - 1);
|
||||
Q_strlcpy(sv.os, YQ2OSTYPE, sizeof(sv.os) - 1);
|
||||
Q_strlcpy(sv.arch, YQ2ARCH, sizeof(sv.arch) - 1);
|
||||
|
||||
fwrite(&sv, sizeof(sv), 1, f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue