mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 09:52:18 +00:00
Have spin set fly1 to 2 instead of 0, akin to the previous cutoff behavior
This commit is contained in:
parent
ec02a90ebc
commit
f5e49ace00
1 changed files with 2 additions and 1 deletions
|
@ -8485,7 +8485,8 @@ static void P_MovePlayer(player_t *player)
|
|||
if (cmd->buttons & BT_USE && !(player->pflags & PF_STASIS) && !player->exiting && !(player->mo->eflags & MFE_GOOWATER))
|
||||
if (P_MobjFlip(player->mo)*player->mo->momz > -FixedMul(5*actionspd, player->mo->scale))
|
||||
{
|
||||
player->fly1 = 0;
|
||||
if (player->fly1 > 2)
|
||||
player->fly1 = 2;
|
||||
P_SetObjectMomZ(player->mo, -actionspd/2, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue