summaryrefslogtreecommitdiff
path: root/soh/src/code/z_construct.c
diff options
context:
space:
mode:
authorAdam Bird <archez39@me.com>2024-05-06 12:22:48 -0400
committerAdam Bird <archez39@me.com>2024-05-06 12:22:48 -0400
commit439574d0d9e2a0ffede45ce6ee9056a14ad10068 (patch)
tree2bd0f2c0398ed9bea4e053fcb55f60dfbf48aa5b /soh/src/code/z_construct.c
parentfd9cd9c5ebf611ed1c3f42c6406182c0534c8099 (diff)
parent6443a986d9751b87a0b4e82c15f82a9971f88201 (diff)
Merge remote-tracking branch 'origin/develop' into merge-macready-may6
Diffstat (limited to 'soh/src/code/z_construct.c')
-rw-r--r--soh/src/code/z_construct.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/src/code/z_construct.c b/soh/src/code/z_construct.c
index b95902cc5..960088cba 100644
--- a/soh/src/code/z_construct.c
+++ b/soh/src/code/z_construct.c
@@ -430,7 +430,9 @@ void Regs_InitDataImpl(void) {
WREG(28) = 0;
R_OW_MINIMAP_X = 238;
R_OW_MINIMAP_Y = 164;
- R_MINIMAP_DISABLED = CVarGetInteger("gMinimalUI", 0);
+ if (!CVarGetInteger(CVAR_ENHANCEMENT("RememberMapToggleState"), 0)) {
+ R_MINIMAP_DISABLED = CVarGetInteger(CVAR_ENHANCEMENT("MinimalUI"), 0);
+ }
WREG(32) = 122;
WREG(33) = 60;
WREG(35) = 0;