mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Exhumed: Do player pitch/yaw before movement code.
This commit is contained in:
parent
79f7ca976b
commit
025f2ec5fb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue