summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorAda <60364512+GreatArgorath@users.noreply.github.com>2022-04-26 18:03:20 +0100
committerKenix3 <kenixwhisperwind@gmail.com>2022-04-30 10:34:23 -0400
commit86869085cd44fc9aa8ccdad657e7963000252a2e (patch)
tree42e8cddba04c52b27c0a9a375fd157c42e7fb539 /soh/src/code
parentffaafb8b4e571e67f2ac0a1ee33c2a1450aee2f0 (diff)
Fixes shop UI for text speed (actually this time)
Realised my previous PR targetted the wrong line in `z_message_pal`, this might fix other issues people were having, haven't tested yet.
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_message_PAL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/z_message_PAL.c b/soh/src/code/z_message_PAL.c
index 419b322f8..ffb0581c7 100644
--- a/soh/src/code/z_message_PAL.c
+++ b/soh/src/code/z_message_PAL.c
@@ -890,7 +890,7 @@ void Message_DrawText(GlobalContext* globalCtx, Gfx** gfxP) {
}
}
i = j - 1;
- msgCtx->textDrawPos = i + CVar_GetS32("gTextSpeed", 1);
+ msgCtx->textDrawPos = i + 1;
if (character) {}
}
@@ -1084,7 +1084,7 @@ void Message_DrawText(GlobalContext* globalCtx, Gfx** gfxP) {
}
}
if (msgCtx->textDelayTimer == 0) {
- msgCtx->textDrawPos = i + 1;
+ msgCtx->textDrawPos = i + CVar_GetS32("gTextSpeed", 1);
msgCtx->textDelayTimer = msgCtx->textDelay;
} else {
msgCtx->textDelayTimer--;