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;