Skip to content
Snippets Groups Projects
Commit 51f0758c authored by sphere's avatar sphere
Browse files

Merge branch 'fix-console-double-mapping' into 'next'

Fix console binds incorrectly respecting keyboard layout

See merge request STJr/SRB2!2295
parents 26c057f6 914cb167
No related branches found
No related tags found
No related merge requests found
......@@ -983,7 +983,7 @@ boolean CON_Responder(event_t *ev)
if (modeattacking || metalrecording || marathonmode)
return false;
if ((key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1]) && !shiftdown)
if (ev->type == ev_keydown && ((key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1]) && !shiftdown))
{
if (consdown) // ignore repeat
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment