- Don't stop getting input when we're paused.

* This is the cause of the long-standing crouch toggle issues, as well as a few other things.
This commit is contained in:
Mitchell Richters 2023-03-29 02:00:09 +11:00
parent 7feb5a9a9b
commit 70706d3da8

View file

@ -173,7 +173,7 @@ void clearLocalInputBuffer()
void getInput(const double scaleAdjust, PlayerAngles* const plrAngles, InputPacket* packet)
{
if (paused || M_Active() || gamestate != GS_LEVEL || !plrAngles || !plrAngles->pActor)
if (M_Active() || gamestate != GS_LEVEL || !plrAngles || !plrAngles->pActor)
{
clearLocalInputBuffer();
return;