mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix it not using footstep->cone
This commit is contained in:
parent
150f514c80
commit
e365b7f0b3
1 changed files with 2 additions and 2 deletions
|
|
@ -633,12 +633,12 @@ static void K_SpawnFootstepParticle(mobj_t *mo, t_footstep_t *fs)
|
||||||
if ((leveltime / 2) & 1)
|
if ((leveltime / 2) & 1)
|
||||||
{
|
{
|
||||||
tireAngle -= ANGLE_45;
|
tireAngle -= ANGLE_45;
|
||||||
tireAngle -= P_RandomRange(0, ANGLE_11hh);
|
tireAngle -= P_RandomRange(0, footstep->cone);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tireAngle += ANGLE_45;
|
tireAngle += ANGLE_45;
|
||||||
tireAngle += P_RandomRange(0, ANGLE_11hh);
|
tireAngle += P_RandomRange(0, footstep->cone);
|
||||||
}
|
}
|
||||||
|
|
||||||
pushAngle = K_MomentumAngle(mo) + ANGLE_180;
|
pushAngle = K_MomentumAngle(mo) + ANGLE_180;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue