- Duke: Ensure hard landing check is done after pitch keys.

* Oversight from e9a5f745fc.
This commit is contained in:
Mitchell Richters 2023-04-02 19:17:43 +10:00
parent 272dfa762d
commit 7217ce6ff9
2 changed files with 4 additions and 4 deletions

View file

@ -2990,8 +2990,6 @@ HORIZONLY:
playerAimDown(snum, actions);
}
p->checkhardlanding();
if (SyncInput())
{
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
@ -2999,6 +2997,8 @@ HORIZONLY:
p->Angles.doPitchKeys(&p->sync);
p->checkhardlanding();
//Shooting code/changes
if (p->show_empty_weapon > 0)

View file

@ -3733,8 +3733,6 @@ HORIZONLY:
p->GetActor()->spr.Angles.Pitch += maphoriz(d);
}
p->checkhardlanding();
if (SyncInput())
{
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
@ -3742,6 +3740,8 @@ HORIZONLY:
p->Angles.doPitchKeys(&p->sync);
p->checkhardlanding();
//Shooting code/changes
if (p->show_empty_weapon > 0)