- Blood: Move synchronised input call to doslopetilting() above call to resetForcedSyncInput().

This commit is contained in:
Mitchell Richters 2021-01-02 14:54:54 +11:00
parent 25eaeff0db
commit 2fa2d93084

View file

@ -1555,16 +1555,12 @@ void ProcessInput(PLAYER *pPlayer)
if (SyncInput()) if (SyncInput())
{ {
sethorizon(&pPlayer->horizon.horiz, pInput->horz, &pInput->actions); sethorizon(&pPlayer->horizon.horiz, pInput->horz, &pInput->actions);
doslopetilting(pPlayer);
} }
// disable synchronised input if set by game. // disable synchronised input if set by game.
resetForcedSyncInput(); resetForcedSyncInput();
if (SyncInput())
{
doslopetilting(pPlayer);
}
pPlayer->slope = -pPlayer->horizon.horiz.asq16() >> 9; pPlayer->slope = -pPlayer->horizon.horiz.asq16() >> 9;
if (pInput->actions & SB_INVPREV) if (pInput->actions & SB_INVPREV)
{ {