From 2b3d8dccf94b34d261986cd91f517bcfe0c55be5 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Mon, 29 Aug 2022 02:35:05 -0400 Subject: [PATCH] Guest profile always does changes --- src/k_menufunc.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 78e8b69cb..01ebdb62c 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -2433,7 +2433,17 @@ static boolean M_HandleCSelectProfile(setup_player_t *p, UINT8 num) M_SetupProfileGridPos(p); p->changeselect = 0; - p->mdepth = CSSTEP_ASKCHANGES; + + if (p->profilen == 0) + { + // Guest profile, always ask for options. + p->mdepth = CSSTEP_CHARS; + } + else + { + p->mdepth = CSSTEP_ASKCHANGES; + } + S_StartSound(NULL, sfx_s3k63); } @@ -2874,7 +2884,6 @@ boolean M_CharacterSelectHandler(INT32 choice) case CSSTEP_NONE: // Enter Game if (gamestate == GS_MENU) // do NOT handle that outside of GS_MENU. playersChanged = M_HandlePressStart(p, i); - break; case CSSTEP_PROFILE: playersChanged = M_HandleCSelectProfile(p, i);