From 453d98bab78aec525140049f7be25e2ee6dd7b93 Mon Sep 17 00:00:00 2001 From: Sunk <69110309+Sunketchupm@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:02:07 -0400 Subject: [PATCH] Change direct equality to checking flag --- src/game/interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 76ee2fcef..9a643e3ba 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -1443,7 +1443,7 @@ u32 interact_player_pvp(struct MarioState* attacker, struct MarioState* victim) // see if it was an attack u32 interaction = determine_interaction(attacker, cVictim->marioObj); // Specfically override jump kicks to prevent low damage and low knockback kicks - if (interaction == INT_HIT_FROM_BELOW && attacker->action == ACT_JUMP_KICK) { interaction = INT_KICK; } + if (interaction & INT_HIT_FROM_BELOW && attacker->action == ACT_JUMP_KICK) { interaction = INT_KICK; } if (!(interaction & INT_ANY_ATTACK) || (interaction & INT_HIT_FROM_ABOVE) || !passes_pvp_interaction_checks(attacker, cVictim)) { return FALSE; }