summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorvaguerant <vaguerant@users.noreply.github.com>2022-07-06 09:30:17 +1000
committerGitHub <noreply@github.com>2022-07-05 19:30:17 -0400
commit0b7137b8b058e83c070c7d367a94160d116ae679 (patch)
treeaf5bc514b6c19d3c0e8c27ee47b74674d24c5b7e /soh/src/code
parentc5e84c17a5401dc8226005d015268c905ca62877 (diff)
Cheat: Infinite Epona Boost (#577)
* Cheat: Infinite Epona Boost * Edit for readability
Diffstat (limited to 'soh/src/code')
-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 716dfacd1..f9669b3aa 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -3868,7 +3868,7 @@ void Interface_Draw(GlobalContext* globalCtx) {
if ((globalCtx->pauseCtx.state == 0) && (globalCtx->pauseCtx.debugState == 0)) {
if (gSaveContext.minigameState != 1) {
// Carrots rendering if the action corresponds to riding a horse
- if (interfaceCtx->unk_1EE == 8) {
+ if (interfaceCtx->unk_1EE == 8 && !CVar_GetS32("gInfiniteEpona", 0)) {
// Load Carrot Icon
gDPLoadTextureBlock(OVERLAY_DISP++, gCarrotIconTex, G_IM_FMT_RGBA, G_IM_SIZ_32b, 16, 16, 0,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK,