mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
G_LoadGameData: Add -resetchallengegrid command line parameter for DEVELOP builds only
This commit is contained in:
parent
4d88923173
commit
3abba2bd26
1 changed files with 5 additions and 1 deletions
|
|
@ -4562,7 +4562,11 @@ void G_LoadGameData(void)
|
|||
P_SaveBufferFree(&save);
|
||||
I_Error("Game data is from the future! (expected %d, got %d)\nRename or delete %s (maybe in %s) and try again.", GD_VERSIONMINOR, versionMinor, gamedatafilename, gdfolder);
|
||||
}
|
||||
if (versionMinor == 0 || versionMinor == 1)
|
||||
if ((versionMinor == 0 || versionMinor == 1)
|
||||
#ifdef DEVELOP
|
||||
|| M_CheckParm("-resetchallengegrid")
|
||||
#endif
|
||||
)
|
||||
{
|
||||
gridunusable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue