mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-25 13:31:03 +00:00
@MuadDib: Allow-1000-saves-instead-of-100
This commit is contained in:
parent
e19f8b9c1d
commit
fce7d4865a
1 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ static struct
|
||||||
int savegameFromFlag;
|
int savegameFromFlag;
|
||||||
} s_savegame;
|
} s_savegame;
|
||||||
|
|
||||||
#define MAX_SAVELOADFILES 100
|
#define MAX_SAVELOADFILES 1000
|
||||||
#define MAX_SAVELOADNAME 32
|
#define MAX_SAVELOADNAME 32
|
||||||
|
|
||||||
#ifdef JK2_MODE
|
#ifdef JK2_MODE
|
||||||
|
@ -829,9 +829,9 @@ static int CreateNextSaveName(char *fileName)
|
||||||
for (i=0;i<MAX_SAVELOADFILES;i++)
|
for (i=0;i<MAX_SAVELOADFILES;i++)
|
||||||
{
|
{
|
||||||
#ifdef JK2_MODE
|
#ifdef JK2_MODE
|
||||||
Com_sprintf( fileName, MAX_SAVELOADNAME, "jkii%02d", i );
|
Com_sprintf( fileName, MAX_SAVELOADNAME, "jkii%03d", i );
|
||||||
#else
|
#else
|
||||||
Com_sprintf( fileName, MAX_SAVELOADNAME, "jedi_%02d", i );
|
Com_sprintf( fileName, MAX_SAVELOADNAME, "jedi_%03d", i );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!ui.SG_GetSaveGameComment(fileName, NULL, NULL))
|
if (!ui.SG_GetSaveGameComment(fileName, NULL, NULL))
|
||||||
|
|
Loading…
Reference in a new issue