Skip to content
Snippets Groups Projects

Fix console binds incorrectly respecting keyboard layout

Merged Hanicef requested to merge Hanicef/SRB2Classic:fix-console-double-mapping into next
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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;
Loading