mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Duke: Within gi->GetInput()
, call p->apply_seasick()
after applylook()
as per the original code, and call unconditionally since its guarded as to whether it runs or not internally. Original spot only had it called if on a vehicle which wasn't right.
This commit is contained in:
parent
f6b9c3cba7
commit
6058669e29
1 changed files with 2 additions and 7 deletions
|
@ -829,11 +829,6 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
|
|||
if (rrraVehicle)
|
||||
{
|
||||
processVehicleInput(p, hidInput, input, scaleAdjust);
|
||||
|
||||
if (!SyncInput() && p->GetActor()->s.extra > 0)
|
||||
{
|
||||
p->apply_seasick(scaleAdjust);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -848,8 +843,8 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
|
|||
{
|
||||
// Do these in the same order as the old code.
|
||||
doslopetilting(p, scaleAdjust);
|
||||
input.avel = p->adjustavel(input.avel);
|
||||
applylook(&p->angle, input.avel, &p->sync.actions, scaleAdjust);
|
||||
applylook(&p->angle, p->adjustavel(input.avel), &p->sync.actions, scaleAdjust);
|
||||
p->apply_seasick(scaleAdjust);
|
||||
sethorizon(&p->horizon.horiz, input.horz, &p->sync.actions, scaleAdjust);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue