- Exhumed: Revert change from edf54b4b0a that wasn't meant to be committed.

This commit is contained in:
Mitch Richters 2021-11-06 19:54:12 +11:00
parent edf54b4b0a
commit 8f37097e1b

View file

@ -69,7 +69,11 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
{ {
pPlayer->angle.applyinput(input.avel, &sPlayerInput[nLocalPlayer].actions, scaleAdjust); pPlayer->angle.applyinput(input.avel, &sPlayerInput[nLocalPlayer].actions, scaleAdjust);
pPlayer->horizon.applyinput(input.horz, &sPlayerInput[nLocalPlayer].actions, scaleAdjust); pPlayer->horizon.applyinput(input.horz, &sPlayerInput[nLocalPlayer].actions, scaleAdjust);
pPlayer->bPlayerPan = pPlayer->bLockPan = input.horz != 0;
if (input.horz)
{
pPlayer->bPlayerPan = pPlayer->bLockPan = true;
}
} }
pPlayer->angle.processhelpers(scaleAdjust); pPlayer->angle.processhelpers(scaleAdjust);