mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-22 20:02:03 +00:00
Don't spawn glide dust for SF_NOSKID characters
This commit is contained in:
parent
652a1984fe
commit
b6106ca8c5
1 changed files with 1 additions and 1 deletions
|
@ -7917,7 +7917,7 @@ static void P_SkidStuff(player_t *player)
|
|||
else if (player->skidtime == 1)
|
||||
player->skidtime = 3*TICRATE+1;
|
||||
// Spawn a particle every 3 tics.
|
||||
else if (!(player->skidtime % 3))
|
||||
else if (!(player->skidtime % 3) && !(player->charflags & SF_NOSKID))
|
||||
{
|
||||
P_SpawnSkidDust(player, player->mo->radius, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue