From 2bb5ef0d2ee9ea8fac08e87a1db5aabf890fcea2 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 23 Sep 2020 23:37:06 +1000 Subject: [PATCH] - Exhumed: Don't return to center after jumping or having something of a fall while playing with mouselook enabled. --- source/exhumed/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exhumed/src/player.cpp b/source/exhumed/src/player.cpp index 26cd14d6f..54939f817 100644 --- a/source/exhumed/src/player.cpp +++ b/source/exhumed/src/player.cpp @@ -1101,7 +1101,7 @@ void FuncPlayer(int a, int nDamage, int nRun) zVelB = -zVelB; } - if (zVelB > 512 && PlayerList[nPlayer].q16angle != IntToFixed(100) && !(sPlayerInput[nPlayer].actions & (SB_AIM_UP|SB_AIM_DOWN))) { + if (zVelB > 512 && PlayerList[nPlayer].q16angle != IntToFixed(100) && (sPlayerInput[nPlayer].actions & (SB_AIMMODE))) { sPlayerInput[nPlayer].actions |= SB_CENTERVIEW; } }