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,9 +979,9 @@ void K_HandleFootstepParticles(mobj_t *mo)
// No TERRAIN effects for this object. // No TERRAIN effects for this object.
return; return;
} }
}
fs = K_GetFootstepByIndex(mo->terrain->footstepID); fs = K_GetFootstepByIndex(mo->terrain->footstepID);
}
if (mo->player != NULL) if (mo->player != NULL)
{ {