From 52c1cfd1cf57e1e5ff50a7e6ca93f38c87d6271c Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 2 Sep 2022 22:56:55 +0100 Subject: [PATCH] Remove redundant settings -- PR_ApplyProfile does these for us! --- src/k_menufunc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 297b5ca8a..dcc4c7082 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -4638,12 +4638,10 @@ static void M_FirstPickProfile(INT32 c) M_ResetOptions(); // Reset all options variables otherwise things are gonna go reaaal bad lol. optionsmenu.profile = NULL; // Make sure to get rid of that, too. - CV_StealthSetValue(&cv_currprofile, optionsmenu.profilen); PR_ApplyProfile(optionsmenu.profilen, 0); M_SetupNextMenu(&MainDef, false); // Tell the game this is the last profile we picked. - CV_StealthSetValue(&cv_lastprofile[0], optionsmenu.profilen); CV_StealthSetValue(&cv_ttlprofilen, optionsmenu.profilen); // Save em!