mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 21:04:00 +02:00
- if holding ctrl while click to change the player type we will change all non human slots to the same player control type
This commit is contained in:
@@ -1022,4 +1022,13 @@ bool isAllowedInputTextKey(SDLKey key) {
|
||||
return result;
|
||||
}
|
||||
|
||||
bool Window::isKeyStateModPressed(int mod) {
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("isKeyStateModPressed mod = %d, keystate.mod = %d, keystate.mod & mod = %d\n",mod,keystate.mod,(keystate.mod & mod));
|
||||
|
||||
if(keystate.mod & mod) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}}//end namespace
|
||||
|
Reference in New Issue
Block a user