mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-22 07:52:30 +00:00
Turn Auto Roulette off in new versions
Turns off auto roulette in profiles from internal version 2 -> 3
This commit is contained in:
parent
81ef7a3e1c
commit
020cb6c60b
2 changed files with 11 additions and 1 deletions
|
|
@ -518,6 +518,15 @@ void PR_LoadProfiles(void)
|
||||||
converted = true;
|
converted = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (js.prof.version == 2)
|
||||||
|
{
|
||||||
|
// Version 2 -> 3:
|
||||||
|
// - Auto Roulette is turned off again so people have to see the warning message
|
||||||
|
newprof->autoroulette == false;
|
||||||
|
|
||||||
|
converted = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (converted)
|
if (converted)
|
||||||
{
|
{
|
||||||
CONS_Printf("Profile '%s' was converted from version %d to version %d\n",
|
CONS_Printf("Profile '%s' was converted from version %d to version %d\n",
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,9 @@ extern "C" {
|
||||||
// Version history:
|
// Version history:
|
||||||
// 1 - first
|
// 1 - first
|
||||||
// 2 - litesteer is off by default, old profiles litesteer
|
// 2 - litesteer is off by default, old profiles litesteer
|
||||||
|
// 3 - auto roulette is switched off again
|
||||||
// option is reset to default
|
// option is reset to default
|
||||||
#define PROFILEVER 2
|
#define PROFILEVER 3
|
||||||
#define MAXPROFILES 16
|
#define MAXPROFILES 16
|
||||||
#define PROFILESFILE "ringprofiles.prf"
|
#define PROFILESFILE "ringprofiles.prf"
|
||||||
#define PROFILE_GUEST 0
|
#define PROFILE_GUEST 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue