summaryrefslogtreecommitdiff
path: root/soh/src
diff options
context:
space:
mode:
authorrozlette <Rozelette@users.noreply.github.com>2022-06-27 17:09:04 -0500
committerKenix3 <kenixwhisperwind@gmail.com>2022-07-04 10:44:10 -0400
commit668f9bee10b68dbb98410ec0eba798b2e03521d8 (patch)
tree04e86a0d47186bbb891123c61f99ac02e46778a0 /soh/src
parent818d5f90a8ebceda24361026790bdd8a8416b008 (diff)
Fix testing masks of DPad
Diffstat (limited to 'soh/src')
-rw-r--r--soh/src/overlays/actors/ovl_player_actor/z_player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/overlays/actors/ovl_player_actor/z_player.c b/soh/src/overlays/actors/ovl_player_actor/z_player.c
index 4c147ec27..73b909f17 100644
--- a/soh/src/overlays/actors/ovl_player_actor/z_player.c
+++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c
@@ -1921,7 +1921,7 @@ void func_80833DF8(Player* this, GlobalContext* globalCtx) {
}
}
if (!func_80833C98(C_BTN_ITEM(0), maskActionParam) && !func_80833C98(C_BTN_ITEM(1), maskActionParam) &&
- !func_80833C98(C_BTN_ITEM(2), maskActionParam) && hasOnDpad) {
+ !func_80833C98(C_BTN_ITEM(2), maskActionParam) && !hasOnDpad) {
this->currentMask = PLAYER_MASK_NONE;
}
}