mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Blood: don't update view angle when game is paused
This commit is contained in:
parent
c8372c233e
commit
c50f54d064
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue