Made kick-slide have a minimum speed to attack players
This commit is contained in:
parent
3ce66ac312
commit
9cdb95b10b
|
@ -1364,7 +1364,7 @@ u32 interact_player(struct MarioState* m, UNUSED u32 interactType, struct Object
|
|||
}
|
||||
|
||||
// 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
|
||||
Vec3f velDiff;
|
||||
vec3f_dif(velDiff, m->vel, m2->vel);
|
||||
|
|
Loading…
Reference in New Issue