From 7161de29fd859b6678fa3854dccf905c6be95aa3 Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Fri, 27 Sep 2024 06:44:00 -0700 Subject: [PATCH] Migrate old profiles, set descriptiveinput Modern --- src/k_profiles.cpp | 6 ++++++ src/k_profiles.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/k_profiles.cpp b/src/k_profiles.cpp index 7e07f3c9e..e0f35b159 100644 --- a/src/k_profiles.cpp +++ b/src/k_profiles.cpp @@ -545,6 +545,12 @@ void PR_LoadProfiles(void) converted = true; } + if (jsprof.version < 4) + { + newprof->descriptiveinput = 1; + converted = true; + } + if (converted) { CONS_Printf("Profile '%s' was converted from version %d to version %d\n", diff --git a/src/k_profiles.h b/src/k_profiles.h index fea61ebf8..0a2874dd4 100644 --- a/src/k_profiles.h +++ b/src/k_profiles.h @@ -118,7 +118,8 @@ extern "C" { // 2 - litesteer is off by default, old profiles litesteer // 3 - auto roulette is switched off again // option is reset to default -#define PROFILEVER 3 +// 4 - Descriptive Input - set everyone to Modern! +#define PROFILEVER 4 #define MAXPROFILES 16 #define PROFILESFILE "ringprofiles.prf" #define PROFILE_GUEST 0