mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke: Ensure hard landing check is done after pitch keys.
* Oversight from e9a5f745fc
.
This commit is contained in:
parent
272dfa762d
commit
7217ce6ff9
2 changed files with 4 additions and 4 deletions
|
@ -2990,8 +2990,6 @@ HORIZONLY:
|
||||||
playerAimDown(snum, actions);
|
playerAimDown(snum, actions);
|
||||||
}
|
}
|
||||||
|
|
||||||
p->checkhardlanding();
|
|
||||||
|
|
||||||
if (SyncInput())
|
if (SyncInput())
|
||||||
{
|
{
|
||||||
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
|
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
|
||||||
|
@ -2999,6 +2997,8 @@ HORIZONLY:
|
||||||
|
|
||||||
p->Angles.doPitchKeys(&p->sync);
|
p->Angles.doPitchKeys(&p->sync);
|
||||||
|
|
||||||
|
p->checkhardlanding();
|
||||||
|
|
||||||
//Shooting code/changes
|
//Shooting code/changes
|
||||||
|
|
||||||
if (p->show_empty_weapon > 0)
|
if (p->show_empty_weapon > 0)
|
||||||
|
|
|
@ -3733,8 +3733,6 @@ HORIZONLY:
|
||||||
p->GetActor()->spr.Angles.Pitch += maphoriz(d);
|
p->GetActor()->spr.Angles.Pitch += maphoriz(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
p->checkhardlanding();
|
|
||||||
|
|
||||||
if (SyncInput())
|
if (SyncInput())
|
||||||
{
|
{
|
||||||
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
|
p->GetActor()->spr.Angles.Pitch += GetPlayerHorizon(snum);
|
||||||
|
@ -3742,6 +3740,8 @@ HORIZONLY:
|
||||||
|
|
||||||
p->Angles.doPitchKeys(&p->sync);
|
p->Angles.doPitchKeys(&p->sync);
|
||||||
|
|
||||||
|
p->checkhardlanding();
|
||||||
|
|
||||||
//Shooting code/changes
|
//Shooting code/changes
|
||||||
|
|
||||||
if (p->show_empty_weapon > 0)
|
if (p->show_empty_weapon > 0)
|
||||||
|
|
Loading…
Reference in a new issue