mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- 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:
parent
546d3d1bf5
commit
ce22f1db51
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue