mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 15:01:13 +00:00
Merge branch 'gamedata-param' into 'master'
Custom gamedata parameter See merge request STJr/SRB2Internal!423
This commit is contained in:
commit
04e966868d
1 changed files with 5 additions and 0 deletions
|
|
@ -3358,6 +3358,11 @@ void G_LoadGameData(void)
|
|||
// Allow saving of gamedata beyond this point
|
||||
gamedataloaded = true;
|
||||
|
||||
if (M_CheckParm("-gamedata") && M_IsNextParm())
|
||||
{
|
||||
strlcpy(gamedatafilename, M_GetNextParm(), sizeof gamedatafilename);
|
||||
}
|
||||
|
||||
if (M_CheckParm("-resetdata"))
|
||||
return; // Don't load (essentially, reset).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue