diff --git a/src/k_terrain.c b/src/k_terrain.c index e4f311a11..f9194835f 100644 --- a/src/k_terrain.c +++ b/src/k_terrain.c @@ -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: