Fix custom terrain footsteps never being considered under offroad conditions

This commit is contained in:
toaster 2023-04-14 17:18:11 +01:00
parent 26cdc0f003
commit 661285d3c6

View file

@ -979,10 +979,10 @@ void K_HandleFootstepParticles(mobj_t *mo)
// No TERRAIN effects for this object.
return;
}
fs = K_GetFootstepByIndex(mo->terrain->footstepID);
}
fs = K_GetFootstepByIndex(mo->terrain->footstepID);
if (mo->player != NULL)
{
// Match behaviour of the previous entry in the series: