in_sdl.c: Add missing KP_NUMLOCK key event.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@685 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-06-10 06:09:50 +00:00
parent ab2fd06513
commit 6832763fc1

View file

@ -471,6 +471,11 @@ void IN_SendKeyEvents (void)
case SDLK_LALT: case SDLK_LALT:
sym = K_ALT; sym = K_ALT;
break; break;
case SDLK_NUMLOCK:
if (gamekey)
sym = KP_NUMLOCK;
else sym = 0;
break;
case SDLK_KP0: case SDLK_KP0:
if (gamekey) if (gamekey)
sym = KP_INS; sym = KP_INS;