mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'master' into next
This commit is contained in:
commit
62264901e5
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
/// \brief Load dehacked file and change tables and text
|
/// \brief Load dehacked file and change tables and text
|
||||||
|
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
|
#include "d_main.h" // for srb2home
|
||||||
#include "g_game.h"
|
#include "g_game.h"
|
||||||
#include "sounds.h"
|
#include "sounds.h"
|
||||||
#include "info.h"
|
#include "info.h"
|
||||||
|
|
@ -3070,6 +3071,8 @@ static void readmaincfg(MYFILE *f)
|
||||||
|
|
||||||
strncpy(savegamename, timeattackfolder, sizeof (timeattackfolder));
|
strncpy(savegamename, timeattackfolder, sizeof (timeattackfolder));
|
||||||
strlcat(savegamename, "%u.ssg", sizeof(savegamename));
|
strlcat(savegamename, "%u.ssg", sizeof(savegamename));
|
||||||
|
// can't use sprintf since there is %u in savegamename
|
||||||
|
strcatbf(savegamename, srb2home, PATHSEP);
|
||||||
|
|
||||||
gamedataadded = true;
|
gamedataadded = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue