mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Blood: Fix player's slope with horizon now based on 100 and not 0.
This commit is contained in:
parent
f8210ef8ee
commit
5c097c4a74
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue