We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc08c4 commit 661b21cCopy full SHA for 661b21c
Source/Managers/UInputMan.h
@@ -188,7 +188,7 @@ namespace RTE {
188
189
/// Gets the state of either Alt key.
190
/// @return The state of either Alt key.
191
- bool FlagAltState() const { return (SDL_GetModState() & SDL_KMOD_ALT) > 0; }
+ bool FlagAltState() const { return (SDL_GetModState() & SDL_KMOD_ALT | SDL_KMOD_MODE) > 0; }
192
193
/// Gets the state of the Left Shift key.
194
/// @return The state of the Left Shift key.
0 commit comments