mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 12:54:01 +02:00
- fixed screenshots so holding shift ignores the screenshot key
This commit is contained in:
@@ -880,7 +880,8 @@ bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input,bool modifiersAllow
|
||||
//printf("input.keysym.mod = %d\n",input.keysym.mod);
|
||||
|
||||
if( (input.keysym.mod & (KMOD_LCTRL | KMOD_RCTRL)) ||
|
||||
(input.keysym.mod & (KMOD_LALT | KMOD_RALT))) {
|
||||
(input.keysym.mod & (KMOD_LALT | KMOD_RALT)) ||
|
||||
(input.keysym.mod & (KMOD_LSHIFT | KMOD_RSHIFT))) {
|
||||
//input.keysym.mod & (KMOD_LSHIFT | KMOD_RSHIFT)) {
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("In [%s::%s Line: %d] result *WOULD HAVE BEEN TRUE* but is false due to: modifiersAllowed = %d input.keysym.mod = %d\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,modifiersAllowed,input.keysym.mod);
|
||||
result = false;
|
||||
|
Reference in New Issue
Block a user