mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
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.
This commit is contained in:
parent
26b87e3aa0
commit
c53edd9e5a
1 changed files with 3 additions and 3 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue