- Change paused check in 433c051751ebdf3b9d82ec4cabf01122414de961 as to not affect the crouch_toggle while paused.

This commit is contained in:
Mitchell Richters 2023-11-05 16:58:09 +11:00
parent 4d7094b63b
commit 85bbf80dba

View file

@ -329,7 +329,7 @@ void GameInput::getInput(InputPacket* packet)
I_GetEvent();
SendAction(PlayerArray[myconnectindex]->cmd.ucmd.actions & SB_CENTERVIEW);
if (paused || M_Active() || gamestate != GS_LEVEL)
if (M_Active() || gamestate != GS_LEVEL)
{
inputBuffer = {};
return;
@ -337,7 +337,7 @@ void GameInput::getInput(InputPacket* packet)
I_GetAxes(joyAxes);
processInputBits();
gi->doPlayerMovement();
if (!paused) gi->doPlayerMovement();
mouseInput.Zero();
if (packet)