mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-12-24 00:42:28 +00:00
parent
9acb632b8e
commit
90af8dfb64
1 changed files with 4 additions and 2 deletions
|
|
@ -245,8 +245,10 @@ u32 determine_interaction(struct MarioState *m, struct Object *o) {
|
|||
}
|
||||
|
||||
// Fast attack
|
||||
if (m->forwardVel <= -26.0f || 26.0f <= m->forwardVel) {
|
||||
return INT_FAST_ATTACK_OR_SHELL;
|
||||
if (!(action == ACT_PUNCHING || action == ACT_MOVE_PUNCHING || action == ACT_JUMP_KICK)) {
|
||||
if (m->forwardVel <= -26.0f || 26.0f <= m->forwardVel) {
|
||||
return INT_FAST_ATTACK_OR_SHELL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue