From 4156a1d2c7aed10df1973dce5d844c6498331b2f Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Wed, 2 Nov 2022 18:00:57 -0400 Subject: [PATCH] Fixes bug preventing name entry with single OTR. (#1894) --- soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c b/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c index b59515ce0..9b5316c6e 100644 --- a/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c +++ b/soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c @@ -766,7 +766,7 @@ void FileChoose_RotateToOptions(GameState* thisx) { */ void FileChoose_RotateToMain(GameState* thisx) { FileChooseContext* this = (FileChooseContext*)thisx; - if (this->configMode == CM_QUEST_TO_MAIN || (MIN_QUEST == MAX_QUEST && this->configMode == CM_NAME_ENTRY_TO_MAIN) || + if (this->configMode == CM_QUEST_TO_MAIN || (MIN_QUEST == MAX_QUEST && this->configMode == CM_NAME_ENTRY_TO_MAIN && this->prevConfigMode != CM_MAIN_MENU) || this->configMode == CM_OPTIONS_TO_MAIN) { this->windowRot -= VREG(16);