mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-02 22:41:38 +00:00
Have Metal Sonic use spinheight while dashing
This commit is contained in:
parent
52c96239ba
commit
d2be3110bd
1 changed files with 3 additions and 1 deletions
|
@ -8652,7 +8652,9 @@ void P_MovePlayer(player_t *player)
|
|||
|| (player->pflags & PF_SPINNING)
|
||||
|| player->powers[pw_tailsfly] || player->pflags & PF_GLIDING
|
||||
|| (player->charability == CA_GLIDEANDCLIMB && player->mo->state-states == S_PLAY_GLIDE_LANDING)
|
||||
|| (player->charability == CA_FLY && player->mo->state-states == S_PLAY_FLY_TIRED))
|
||||
|| (player->charability == CA_FLY && player->mo->state-states == S_PLAY_FLY_TIRED)
|
||||
|| (player->dashmode >= DASHMODE_THRESHOLD && (player->charflags & SF_MACHINE)
|
||||
&& player->mo->state-states == S_PLAY_DASH && (player->mo->sprite2 & ~FF_SPR2SUPER) == player->mo->state->frame))
|
||||
{
|
||||
player->mo->height = P_GetPlayerSpinHeight(player);
|
||||
atspinheight = true;
|
||||
|
|
Loading…
Reference in a new issue