mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Exhumed: Revert change from edf54b4b0a
that wasn't meant to be committed.
This commit is contained in:
parent
edf54b4b0a
commit
8f37097e1b
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue