summaryrefslogtreecommitdiff
path: root/soh/src/code/z_parameter.c
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2025-02-25 03:13:17 -0500
committerGitHub <noreply@github.com>2025-02-25 09:13:17 +0100
commitf023a46a5d5ef8e969427dbd694366f06fb078b7 (patch)
tree9616c4931ba0cab38cb6012a2e5efc7c1bb8fe53 /soh/src/code/z_parameter.c
parent51310db68fc66725f5720e6d7aa7dcda0b17b8fc (diff)
Use gamemode enum (#5089)
* Use gamemode enum * update console command for file_select
Diffstat (limited to 'soh/src/code/z_parameter.c')
-rw-r--r--soh/src/code/z_parameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index a331e4ace..1daa29fb9 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -3215,7 +3215,7 @@ void Interface_UpdateMagicBar(PlayState* play) {
case MAGIC_STATE_FILL:
gSaveContext.magic += 4;
- if (gSaveContext.gameMode == 0 && gSaveContext.sceneSetupIndex < 4) {
+ if (gSaveContext.gameMode == GAMEMODE_NORMAL && gSaveContext.sceneSetupIndex < 4) {
Audio_PlaySoundGeneral(NA_SE_SY_GAUGE_UP - SFX_FLAG, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale,
&gSfxDefaultReverb);
}