mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-27 13:50:49 +00:00
- WHaven: Enable unsynchronised input.
This commit is contained in:
parent
249ea218f4
commit
7a181400b6
1 changed files with 5 additions and 9 deletions
|
@ -150,19 +150,15 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
|
|||
processMovement(&input, &localInput, hidInput, scaleAdjust);
|
||||
}
|
||||
|
||||
/*
|
||||
if (!cl_syncinput)
|
||||
{
|
||||
auto plr = &player[myconnectindex];
|
||||
PlayerAngle ang;
|
||||
applylook(&ang, input.avel, &sPlayerInput[nLocalPlayer].actions, scaleAdjust, eyelevel[nLocalPlayer] > -14080);
|
||||
sethorizon(&pPlayer->horizon.horiz, input.horz, &sPlayerInput[nLocalPlayer].actions, scaleAdjust);
|
||||
applylook(&plr.angle, input.avel, &plr.plInput.actions, scaleAdjust, plr.plInput.actions & SB_CROUCH);
|
||||
sethorizon(&plr.horizon.horiz, input.horz, &plr.plInput.actions, scaleAdjust);
|
||||
|
||||
pPlayer->angle.processhelpers(scaleAdjust);
|
||||
pPlayer->horizon.processhelpers(scaleAdjust);
|
||||
UpdatePlayerSpriteAngle(pPlayer);
|
||||
plr.angle.processhelpers(scaleAdjust);
|
||||
plr.horizon.processhelpers(scaleAdjust);
|
||||
UpdatePlayerSpriteAngle(plr);
|
||||
}
|
||||
*/
|
||||
|
||||
if (packet)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue