Made kick-slide have a minimum speed to attack players

This commit is contained in:
MysterD 2022-03-12 23:47:17 -08:00
parent 3ce66ac312
commit 9cdb95b10b
1 changed files with 1 additions and 1 deletions

View File

@ -1364,7 +1364,7 @@ u32 interact_player(struct MarioState* m, UNUSED u32 interactType, struct Object
} }
// determine if slide attack should be ignored // determine if slide attack should be ignored
if ((interaction & INT_ATTACK_SLIDE) && player_is_sliding(m2)) { if ((interaction & INT_ATTACK_SLIDE) || player_is_sliding(m2)) {
// determine the difference in velocities // determine the difference in velocities
Vec3f velDiff; Vec3f velDiff;
vec3f_dif(velDiff, m->vel, m2->vel); vec3f_dif(velDiff, m->vel, m2->vel);