From ce22f1db51574d9d6ce0ac7ac39725f0853edc69 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 5 Feb 2019 11:54:29 +0100 Subject: [PATCH] - 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. --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index 5f71235b0..4201514c6 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -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;