mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Oops ... can't use raw angles for P_RandomRange anyway.
This commit is contained in:
parent
fee1ccdc0d
commit
7ce3d5bea0
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)
|
||||
{
|
||||
tireAngle -= ANGLE_45;
|
||||
tireAngle -= P_RandomRange(0, fs->cone);
|
||||
tireAngle -= P_RandomRange(0, fs->cone / ANG1) * ANG1;
|
||||
}
|
||||
else
|
||||
{
|
||||
tireAngle += ANGLE_45;
|
||||
tireAngle += P_RandomRange(0, fs->cone);
|
||||
tireAngle += P_RandomRange(0, fs->cone / ANG1) * ANG1;
|
||||
}
|
||||
|
||||
pushAngle = K_MomentumAngle(mo) + ANGLE_180;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue