diff --git a/source/games/blood/src/blood.cpp b/source/games/blood/src/blood.cpp index 266e6cc47..086f589e8 100644 --- a/source/games/blood/src/blood.cpp +++ b/source/games/blood/src/blood.cpp @@ -437,14 +437,12 @@ void GameInterface::Ticker() PLAYER* pPlayer = &gPlayer[myconnectindex]; - // this must be done before the view is backed up. - pPlayer->Angles.resetCameraAngles(); - // disable synchronised input if set by game. resetForcedSyncInput(); for (int i = connecthead; i >= 0; i = connectpoint2[i]) { + gPlayer[i].Angles.resetCameraAngles(); viewBackupView(i); playerProcess(&gPlayer[i]); } diff --git a/source/games/duke/src/gameloop.cpp b/source/games/duke/src/gameloop.cpp index a4f9f80e1..881b71a86 100644 --- a/source/games/duke/src/gameloop.cpp +++ b/source/games/duke/src/gameloop.cpp @@ -70,7 +70,10 @@ void GameInterface::Ticker() everyothertime++; // this must be done before the view is backed up. - ps[myconnectindex].Angles.resetCameraAngles(); + for (int i = connecthead; i >= 0; i = connectpoint2[i]) + { + ps[i].Angles.resetCameraAngles(); + } // disable synchronised input if set by game. resetForcedSyncInput(); diff --git a/source/games/sw/src/player.cpp b/source/games/sw/src/player.cpp index 26c5e2813..a391e64a5 100644 --- a/source/games/sw/src/player.cpp +++ b/source/games/sw/src/player.cpp @@ -6704,14 +6704,12 @@ void MoveSkipSavePos(void) MoveSkip4 = (MoveSkip4 + 1) & 3; MoveSkip2 ^= 1; - // this must be done before the view is backed up. - Player[myconnectindex].Angles.resetCameraAngles(); - // Save off player TRAVERSE_CONNECT(pnum) { pp = Player + pnum; + pp->Angles.resetCameraAngles(); pp->actor->backuploc(); pp->obob_z = pp->bob_z; pp->opbob_amt = pp->pbob_amt;