From 544125bb994735eb9af9a21e97085fdaa4829bb1 Mon Sep 17 00:00:00 2001 From: VelocitOni Date: Fri, 3 May 2024 20:43:24 -0400 Subject: [PATCH] Make it actually build Oops, extra "." in version check and used comparison instead of "=" --- src/k_profiles.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_profiles.cpp b/src/k_profiles.cpp index d6109bfe5..a421a692c 100644 --- a/src/k_profiles.cpp +++ b/src/k_profiles.cpp @@ -518,11 +518,11 @@ void PR_LoadProfiles(void) converted = true; } - if (js.prof.version == 2) + if (jsprof.version == 2) { // Version 2 -> 3: // - Auto Roulette is turned off again so people have to see the warning message - newprof->autoroulette == false; + newprof->autoroulette = false; converted = true; }