mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 21:12:13 +00:00
Migrate old profiles, set descriptiveinput Modern
This commit is contained in:
parent
dfd15ca8a2
commit
7161de29fd
2 changed files with 8 additions and 1 deletions
|
|
@ -545,6 +545,12 @@ void PR_LoadProfiles(void)
|
||||||
converted = true;
|
converted = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (jsprof.version < 4)
|
||||||
|
{
|
||||||
|
newprof->descriptiveinput = 1;
|
||||||
|
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",
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,8 @@ extern "C" {
|
||||||
// 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
|
// 3 - auto roulette is switched off again
|
||||||
// option is reset to default
|
// option is reset to default
|
||||||
#define PROFILEVER 3
|
// 4 - Descriptive Input - set everyone to Modern!
|
||||||
|
#define PROFILEVER 4
|
||||||
#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