summaryrefslogtreecommitdiff
path: root/soh/src/code/z_player_lib.c
diff options
context:
space:
mode:
authorinspectredc <78732756+inspectredc@users.noreply.github.com>2023-10-20 00:13:33 +0100
committerGitHub <noreply@github.com>2023-10-19 18:13:33 -0500
commit9d581f10e7b4fddbbbfbce961a11b2aa4eb78ccd (patch)
tree50734544d6fbae9e4064fbb2c4b8031fdf192b0b /soh/src/code/z_player_lib.c
parentcff2e372873072a04457499c3243549bbcf6045c (diff)
magic (#3278)
Diffstat (limited to 'soh/src/code/z_player_lib.c')
-rw-r--r--soh/src/code/z_player_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_player_lib.c b/soh/src/code/z_player_lib.c
index 32a3e6e48..3b005bbbf 100644
--- a/soh/src/code/z_player_lib.c
+++ b/soh/src/code/z_player_lib.c
@@ -342,7 +342,7 @@ uint8_t Player_IsCustomLinkModel() {
s32 Player_InBlockingCsMode(PlayState* play, Player* this) {
return (this->stateFlags1 & 0x20000080) || (this->csMode != 0) || (play->sceneLoadFlag == 0x14) ||
(this->stateFlags1 & 1) || (this->stateFlags3 & 0x80) ||
- ((gSaveContext.magicState != 0) && (Player_ActionToMagicSpell(this, this->itemAction) >= 0));
+ ((gSaveContext.magicState != MAGIC_STATE_IDLE) && (Player_ActionToMagicSpell(this, this->itemAction) >= 0));
}
s32 Player_InCsMode(PlayState* play) {