From 668f9bee10b68dbb98410ec0eba798b2e03521d8 Mon Sep 17 00:00:00 2001 From: rozlette Date: Mon, 27 Jun 2022 17:09:04 -0500 Subject: [PATCH] Fix testing masks of DPad --- soh/src/overlays/actors/ovl_player_actor/z_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }