diff options
| author | cadmic <cadmic24@gmail.com> | 2024-01-30 12:19:00 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 15:19:00 -0500 |
| commit | 18b7030534c5e6ba68abeb0b37c267bd344de426 (patch) | |
| tree | 299e14d118b45eae35484dcc00d03001c2694795 /src/code/z_parameter.c | |
| parent | 7b770dc1e0201af8adbe33d30c377b752db92829 (diff) | |
Revert bad uses of `if (OOT_DEBUG)` (#1666)
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index 464405c56..dd3e89d78 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -3958,7 +3958,8 @@ void Interface_Update(PlayState* play) { s16 risingAlpha; u16 action; - if (OOT_DEBUG) { +#if OOT_DEBUG + { Input* debugInput = &play->state.input[2]; if (CHECK_BTN_ALL(debugInput->press.button, BTN_DLEFT)) { @@ -3972,6 +3973,7 @@ void Interface_Update(PlayState* play) { PRINTF("J_N=%x J_N=%x\n", gSaveContext.language, &gSaveContext.language); } } +#endif if (!IS_PAUSED(&play->pauseCtx)) { if ((gSaveContext.minigameState == 1) || !IS_CUTSCENE_LAYER || |
