- SW: Reset player's render angle state only for the console player.

This commit is contained in:
Mitchell Richters 2022-12-27 20:01:34 +11:00
parent 7593114fc7
commit 572ec96467

View file

@ -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;