Skip to content

Commit

Permalink
- Change paused check in 433c051751ebdf3b9d82ec4cabf01122414de961
Browse files Browse the repository at this point in the history
… as to not affect the `crouch_toggle` while paused.
  • Loading branch information
mjr4077au committed Nov 5, 2023
1 parent 4d7094b commit 85bbf80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/core/gameinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,15 @@ 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;
}

I_GetAxes(joyAxes);
processInputBits();
gi->doPlayerMovement();
if (!paused) gi->doPlayerMovement();
mouseInput.Zero();

if (packet)
Expand Down

0 comments on commit 85bbf80

Please sign in to comment.