From 34bda2c96252d0b4bbe7a159d99490d6accf9a55 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 1 Mar 2021 19:28:47 +0100 Subject: [PATCH] - address excessive view swaying in Blood. It is totally unclear what happened here in the original code, but the info apparently never reached the place where it's being checked. BloodGDX just ignores it so we do now, too. --- source/games/blood/src/player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/games/blood/src/player.cpp b/source/games/blood/src/player.cpp index 60644139f..98fe8e48a 100644 --- a/source/games/blood/src/player.cpp +++ b/source/games/blood/src/player.cpp @@ -1668,7 +1668,8 @@ void playerProcess(PLAYER *pPlayer) { if (pXSprite->height < 256) { - bool running = pPlayer->isRunning; + // taking a cue from BloodGDX here. Apparently due to poor coding in the original game this could never be true. + bool running = false;// pPlayer->isRunning; pPlayer->bobAmp = (pPlayer->bobAmp+pPosture->pace[running]*4) & 2047; pPlayer->swayAmp = (pPlayer->swayAmp+(pPosture->pace[running]*4)/2) & 2047; if (running)