mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 21:38:02 +03:00
Disable drop dash for Miles
This commit is contained in:
parent
58376fa33a
commit
4a4b4f30e7
1 changed files with 10 additions and 8 deletions
|
@ -1007,6 +1007,7 @@ player_update(Player *player)
|
|||
player->vel.vy = -player->cnst->y_min_jump;
|
||||
player->holding_jump = 0;
|
||||
} else {
|
||||
if(player->character == CHARA_SONIC) {
|
||||
// Drop dash charge wait
|
||||
if(!player->holding_jump) {
|
||||
if(player->framecount < 20) {
|
||||
|
@ -1018,6 +1019,7 @@ player_update(Player *player)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
player->vel.vy += (player->action == ACTION_HURT)
|
||||
? player->cnst->y_hurt_gravity
|
||||
: player->cnst->y_gravity;
|
||||
|
@ -1389,7 +1391,7 @@ player_draw(Player *player, VECTOR *pos)
|
|||
(int16_t)(pos->vx >> 12) - tail_distance,
|
||||
(int16_t)(pos->vy >> 12),
|
||||
player->anim_dir < 0,
|
||||
(is_rolling ? 0 : anim_angle)); // TODO: Tail angle
|
||||
anim_angle); // TODO: Tail angle
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue