mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-21 11:11:37 +00:00
damn magic numbers. sdl didn't like the key num shift either
This commit is contained in:
parent
743fd9cc19
commit
22dbc62c71
1 changed files with 2 additions and 2 deletions
|
@ -248,9 +248,9 @@ IN_LL_SendKeyEvents (void)
|
||||||
sym = SDLK_EQUALS;
|
sym = SDLK_EQUALS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// If we're not directly handled and still above 255
|
// If we're not directly handled and still >= K_NUM_KEYS
|
||||||
// just force it to 0
|
// just force it to 0
|
||||||
if (sym > 255)
|
if (sym >= K_NUM_KEYS)
|
||||||
sym = 0;
|
sym = 0;
|
||||||
Key_Event (sym, -1, state);
|
Key_Event (sym, -1, state);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue