Stop rolling sound spam by not doing some stuff that probably shouldn't be happening.

This commit is contained in:
toasterbabe 2017-05-29 22:43:22 +01:00
parent ff7ee4aa12
commit 947e9ed34f

View file

@ -3216,7 +3216,7 @@ static void P_PlayerZMovement(mobj_t *mo)
}
}
if (mo->health && !P_CheckDeathPitCollide(mo))
if (mo->health && !mo->player->spectator && !P_CheckDeathPitCollide(mo))
{
if (mo->player->pflags & PF_GLIDING) // ground gliding
{