mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix Knuckles-in-quicksand messup.
This commit is contained in:
parent
32ee846c4a
commit
8024e686c4
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->pflags & PF_GLIDING) // ground gliding
|
||||||
{
|
{
|
||||||
if (!player->skidtime)
|
if (dorollstuff)
|
||||||
|
{
|
||||||
player->skidtime = TICRATE;
|
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)
|
else if (player->charability2 == CA2_MELEE && player->panim == PA_ABILITY2 && player->mo->state-states != S_PLAY_MELEE_LANDING)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue