From c50f54d064273a286fc7ff1bb2247d8e4d5b61ba Mon Sep 17 00:00:00 2001 From: nukeykt Date: Thu, 30 Jan 2020 23:19:48 +0900 Subject: [PATCH] Blood: don't update view angle when game is paused --- source/blood/src/controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/controls.cpp b/source/blood/src/controls.cpp index 531a94852..b1259785c 100644 --- a/source/blood/src/controls.cpp +++ b/source/blood/src/controls.cpp @@ -385,7 +385,7 @@ void ctrlGetInput(void) gInput.strafe = clamp(gInput.strafe + input.strafe, -2048, 2048); gInput.q16turn = fix16_sadd(gInput.q16turn, input.q16turn); gInput.q16mlook = fix16_clamp(fix16_sadd(gInput.q16mlook, input.q16mlook), F16(-127)>>2, F16(127)>>2); - if (gMe && gMe->pXSprite->health != 0) + if (gMe && gMe->pXSprite->health != 0 && !gPaused) { CONSTEXPR int upAngle = 289; CONSTEXPR int downAngle = -347;