K_ProcessTerrainEffect: fix spring crash on top of FOF

This commit is contained in:
James R 2023-04-11 20:32:55 -07:00
parent 06763da0e7
commit 1a2121b3ca

View file

@ -584,7 +584,7 @@ void K_ProcessTerrainEffect(mobj_t *mo)
{
if (player->mo->floorrover != NULL)
{
slope = *player->mo->ceilingrover->t_slope;
slope = *player->mo->floorrover->t_slope;
}
else
{