mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
Fix Knuckles-in-quicksand messup.
This commit is contained in:
parent
385d34e67e
commit
82acf2de6b
1 changed files with 6 additions and 2 deletions
|
@ -2029,9 +2029,13 @@ boolean P_PlayerHitFloor(player_t *player, boolean dorollstuff)
|
|||
|
||||
if (player->pflags & PF_GLIDING) // ground gliding
|
||||
{
|
||||
if (!player->skidtime)
|
||||
if (dorollstuff)
|
||||
{
|
||||
player->skidtime = TICRATE;
|
||||
player->mo->tics = -1;
|
||||
player->mo->tics = -1;
|
||||
}
|
||||
else
|
||||
player->pflags &= ~PF_GLIDING;
|
||||
}
|
||||
else if (player->charability2 == CA2_MELEE && player->panim == PA_ABILITY2 && player->mo->state-states != S_PLAY_MELEE_LANDING)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue