summaryrefslogtreecommitdiff
path: root/soh/src
diff options
context:
space:
mode:
authorChristopher Leggett <chris@leggett.dev>2022-11-02 18:00:57 -0400
committerGitHub <noreply@github.com>2022-11-02 18:00:57 -0400
commit4156a1d2c7aed10df1973dce5d844c6498331b2f (patch)
tree00a5aa179747de7384fac5fa9de1357449e8c743 /soh/src
parentd49a1cd6b3d2f0fecef26775c2585a688d5547a6 (diff)
Fixes bug preventing name entry with single OTR. (#1894)
Diffstat (limited to 'soh/src')
-rw-r--r--soh/src/overlays/gamestates/ovl_file_choose/z_file_choose.c2
1 files changed, 1 insertions, 1 deletions
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);