mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Stop rolling sound spam by not doing some stuff that probably shouldn't be happening.
This commit is contained in:
parent
ff7ee4aa12
commit
947e9ed34f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
if (mo->player->pflags & PF_GLIDING) // ground gliding
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue