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

This commit is contained in:
Mitchell Richters 2022-12-27 20:01:40 +11:00
parent 572ec96467
commit 96e8565ba7

View file

@ -434,17 +434,18 @@ void GameInterface::Ticker()
{ {
thinktime.Reset(); thinktime.Reset();
thinktime.Clock(); thinktime.Clock();
PLAYER* pPlayer = &gPlayer[myconnectindex];
// this must be done before the view is backed up.
pPlayer->Angles.resetRenderAngles();
for (int i = connecthead; i >= 0; i = connectpoint2[i]) for (int i = connecthead; i >= 0; i = connectpoint2[i])
{ {
// this must be done before the view is backed up.
gPlayer[i].Angles.resetRenderAngles();
viewBackupView(i); viewBackupView(i);
playerProcess(&gPlayer[i]); playerProcess(&gPlayer[i]);
} }
PLAYER* pPlayer = &gPlayer[myconnectindex];
trProcessBusy(); trProcessBusy();
evProcess(PlayClock); evProcess(PlayClock);
seqProcess(4); seqProcess(4);