Fix issue with num lock and caps lock preventing planet scan and

lander message skipping, from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@916 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-20 20:28:17 +00:00
parent 3caf601086
commit a11868102b
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -114,6 +114,10 @@ ProcessKeyboardEvent(const SDL_Event *Event)
UNICODE map_key;
if (!InputInitialized)
return;
if (!Event->key.keysym.unicode &&
(k == SDLK_CAPSLOCK ||
k == SDLK_NUMLOCK))
return;
if (Event->type == SDL_KEYDOWN)
{