- Exhumed: Do player pitch/yaw before movement code.

This commit is contained in:
Mitchell Richters 2023-03-25 16:58:15 +11:00
parent 79f7ca976b
commit 025f2ec5fb

View file

@ -1809,6 +1809,8 @@ void AIPlayer::Tick(RunListEvent* ev)
if (pPlayer->nHealth > 0)
{
doPlayerPitch(pPlayer);
doPlayerYaw(pPlayer);
updatePlayerVelocity(pPlayer);
if (!doPlayerMovement(pPlayer))
@ -1825,8 +1827,6 @@ void AIPlayer::Tick(RunListEvent* ev)
doPlayerItemPickups(pPlayer);
doPlayerRunlistSignals(pPlayer, pStartSect);
updatePlayerAction(pPlayer);
doPlayerPitch(pPlayer);
doPlayerYaw(pPlayer);
}
else
{