mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
I could do better than the previous commit.
This commit is contained in:
parent
4c0ef9f0a3
commit
bda630ce41
1 changed files with 2 additions and 1 deletions
|
@ -7083,7 +7083,8 @@ static void P_MovePlayer(player_t *player)
|
|||
if (player->skin == 0 && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
|
||||
&& P_MobjFlip(player->mo)*player->mo->momz <= 0)
|
||||
{
|
||||
if (player->panim == PA_JUMP || player->panim == PA_FALL)
|
||||
if (player->mo->state-states == S_PLAY_PAIN || player->panim == PA_JUMP || player->panim == PA_FALL
|
||||
|| (player->panim == PA_WALK && player->mo->state-states != S_PLAY_SUPER_FLOAT))
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_SUPER_FLOAT);
|
||||
|
||||
player->mo->momz = 0;
|
||||
|
|
Loading…
Reference in a new issue