Turn Auto Roulette off in new versions

Turns off auto roulette in profiles from internal version 2 -> 3
This commit is contained in:
VelocitOni 2024-05-03 20:33:25 -04:00
parent 81ef7a3e1c
commit 020cb6c60b
2 changed files with 11 additions and 1 deletions

View file

@ -518,6 +518,15 @@ void PR_LoadProfiles(void)
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)
{
CONS_Printf("Profile '%s' was converted from version %d to version %d\n",

View file

@ -112,8 +112,9 @@ extern "C" {
// Version history:
// 1 - first
// 2 - litesteer is off by default, old profiles litesteer
// 3 - auto roulette is switched off again
// option is reset to default
#define PROFILEVER 2
#define PROFILEVER 3
#define MAXPROFILES 16
#define PROFILESFILE "ringprofiles.prf"
#define PROFILE_GUEST 0