From 572ec9646778835763f3fbd23e732f886ed28584 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 27 Dec 2022 20:01:34 +1100 Subject: [PATCH] - SW: Reset player's render angle state only for the console player. --- source/games/sw/src/player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/games/sw/src/player.cpp b/source/games/sw/src/player.cpp index 7645ab557..282232e05 100644 --- a/source/games/sw/src/player.cpp +++ b/source/games/sw/src/player.cpp @@ -6702,14 +6702,14 @@ void MoveSkipSavePos(void) MoveSkip4 = (MoveSkip4 + 1) & 3; MoveSkip2 ^= 1; + // this must be done before the view is backed up. + Player[myconnectindex].Angles.resetRenderAngles(); + // Save off player TRAVERSE_CONNECT(pnum) { pp = Player + pnum; - // this must be done before the view is backed up. - pp->Angles.resetRenderAngles(); - pp->actor->backuploc(); pp->obob_z = pp->bob_z; pp->opbob_amt = pp->pbob_amt;