mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
fix custom moveset attacks
This commit is contained in:
parent
a0ad607b4e
commit
14680f0d25
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ u32 determine_interaction(struct MarioState *m, struct Object *o) {
|
|||
}
|
||||
}
|
||||
|
||||
if (interaction == 0 && action & ACT_FLAG_ATTACKING) {
|
||||
if ((interaction == 0 || interaction & INT_LUA) && action & ACT_FLAG_ATTACKING) {
|
||||
u32 flags = (MARIO_PUNCHING | MARIO_KICKING | MARIO_TRIPPING);
|
||||
if ((action == ACT_PUNCHING || action == ACT_MOVE_PUNCHING || action == ACT_JUMP_KICK) ||
|
||||
((m->flags & flags) && (interaction & INT_LUA))) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue