From e8bc7035f502d5b8cc5899d438061c5df2f69b47 Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 19 Jan 2023 21:23:23 -0800 Subject: [PATCH] Always select current profile in profile options menu Fixes Guest profile being selected if opening the game from command line (without going to title screen) and opening the profile select from the options menu. --- src/menus/options-profiles-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/menus/options-profiles-1.c b/src/menus/options-profiles-1.c index bc0fc280c..6295b12c6 100644 --- a/src/menus/options-profiles-1.c +++ b/src/menus/options-profiles-1.c @@ -33,6 +33,7 @@ void M_ProfileSelectInit(INT32 choice) { (void)choice; optionsmenu.profilemenu = true; + optionsmenu.profilen = cv_currprofile.value; M_SetupNextMenu(&OPTIONS_ProfilesDef, false); }