- Exhumed: Don't return to center after jumping or having something of a fall while playing with mouselook enabled.

This commit is contained in:
Mitchell Richters 2020-09-23 23:37:06 +10:00
parent 64113f8f9c
commit 2bb5ef0d2e

View file

@ -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;
}
}