mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Flying triple jump off players if wing cap (#344)
This commit is contained in:
parent
de9e5f8550
commit
70de5d26af
1 changed files with 1 additions and 1 deletions
|
@ -1309,7 +1309,7 @@ static u8 resolve_player_collision(struct MarioState* m, struct MarioState* m2)
|
|||
velY = fmax(fmin(55.0f, 15.0f + fabs(m->vel[1])), 35.0f);
|
||||
} else if (m->action == ACT_DOUBLE_JUMP) {
|
||||
mario_stop_riding_and_holding(m);
|
||||
set_mario_action(m, (m->specialTripleJump && m->playerIndex == 0) ? ACT_SPECIAL_TRIPLE_JUMP : ACT_TRIPLE_JUMP, 0);
|
||||
set_mario_action(m, (m->specialTripleJump && m->playerIndex == 0) ? ACT_SPECIAL_TRIPLE_JUMP : m->flags & MARIO_WING_CAP ? ACT_FLYING_TRIPLE_JUMP : ACT_TRIPLE_JUMP, 0);
|
||||
velY = fmax(fmin(60.0f, 20.0f + fabs(m->vel[1])), 40.0f);
|
||||
} else {
|
||||
mario_stop_riding_and_holding(m);
|
||||
|
|
Loading…
Reference in a new issue