summaryrefslogtreecommitdiff
path: root/soh/src/code/z_construct.c
diff options
context:
space:
mode:
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;