Fix it not using footstep->cone

This commit is contained in:
Sally Coolatta 2021-12-23 22:48:23 -05:00 committed by SinnamonLat
parent 150f514c80
commit e365b7f0b3

View file

@ -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, ANGLE_11hh);
tireAngle -= P_RandomRange(0, footstep->cone);
}
else
{
tireAngle += ANGLE_45;
tireAngle += P_RandomRange(0, ANGLE_11hh);
tireAngle += P_RandomRange(0, footstep->cone);
}
pushAngle = K_MomentumAngle(mo) + ANGLE_180;