- fixed: SendPitchLimits is not playsim code so it cannot use the PlayerPawn for anything.

This really needs to operate solely on the static players array.
This commit is contained in:
Christoph Oelckers 2019-02-05 11:54:29 +01:00
parent 546d3d1bf5
commit ce22f1db51

View file

@ -578,7 +578,7 @@ static int GetSoftPitch(bool down)
void player_t::SendPitchLimits() const
{
if (this == mo->Level->GetConsolePlayer())
if (this - players == consoleplayer)
{
int uppitch, downpitch;