Don't toggle the console if shift is held

This commit is contained in:
Lactozilla 2023-12-26 18:31:11 -03:00
parent 1f65c55074
commit 2ef5ea86f3

View file

@ -952,7 +952,7 @@ boolean CON_Responder(event_t *ev)
if (modeattacking || metalrecording || marathonmode)
return false;
if (key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1])
if ((key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1]) && !shiftdown)
{
if (consdown) // ignore repeat
return true;