From 5c097c4a7481753cd6a6fdb19ed6cca7064480a1 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 22 Sep 2020 07:13:48 +1000 Subject: [PATCH] - Blood: Fix player's slope with horizon now based on 100 and not 0. --- source/blood/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/player.cpp b/source/blood/src/player.cpp index b1d072023..4c46c0ffa 100644 --- a/source/blood/src/player.cpp +++ b/source/blood/src/player.cpp @@ -1586,7 +1586,7 @@ void ProcessInput(PLAYER *pPlayer) if (klabs(pPlayer->q16slopehoriz) < 4) pPlayer->q16slopehoriz = 0; } - pPlayer->slope = (-FixedToInt(pPlayer->q16horiz))<<7; + pPlayer->slope = -(FixedToInt(pPlayer->q16horiz) - 100)<<7; if (pInput->actions & SB_INVPREV) { pInput->actions&= ~SB_INVPREV;