- Blood: Fix player's slope with horizon now based on 100 and not 0.

This commit is contained in:
Mitchell Richters 2020-09-22 07:13:48 +10:00
parent f8210ef8ee
commit 5c097c4a74

View file

@ -1586,7 +1586,7 @@ void ProcessInput(PLAYER *pPlayer)
if (klabs(pPlayer->q16slopehoriz) < 4) if (klabs(pPlayer->q16slopehoriz) < 4)
pPlayer->q16slopehoriz = 0; pPlayer->q16slopehoriz = 0;
} }
pPlayer->slope = (-FixedToInt(pPlayer->q16horiz))<<7; pPlayer->slope = -(FixedToInt(pPlayer->q16horiz) - 100)<<7;
if (pInput->actions & SB_INVPREV) if (pInput->actions & SB_INVPREV)
{ {
pInput->actions&= ~SB_INVPREV; pInput->actions&= ~SB_INVPREV;