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:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.3:
|
||||
- Fix issue with caps lock and num lock preventing planet scan
|
||||
and lander message skipping (bug #299), from chmmravatar
|
||||
- Subtitles are now hidden after alien has finished talking (bug #312),
|
||||
from chmmravatar
|
||||
- Fix for mycon portrait (bug #183), from Nic
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user