From c53edd9e5a5ada706a148c1206b60721e71e4ff1 Mon Sep 17 00:00:00 2001 From: "Richard C. Gobeille" Date: Mon, 4 May 2020 18:15:52 -0700 Subject: [PATCH] Duke3d: zero .horizAngleAdjust and .horizSkew after checking playerquitflag instead of before I don't think this actually makes a difference, but it's more consistent. --- source/duke3d/src/player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index fd9d4b7f5..bfda56cc2 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -4901,12 +4901,12 @@ void P_ProcessInput(int playerNum) { auto &thisPlayer = g_player[playerNum]; - thisPlayer.horizAngleAdjust = 0; - thisPlayer.horizSkew = 0; - if (thisPlayer.playerquitflag == 0) return; + thisPlayer.horizAngleAdjust = 0; + thisPlayer.horizSkew = 0; + auto const pPlayer = thisPlayer.ps; auto const pSprite = &sprite[pPlayer->i];