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 cd708c1 commit cc421a5Copy full SHA for cc421a5
Source/Managers/UInputMan.h
@@ -180,7 +180,7 @@ namespace RTE {
180
181
/// Gets the state of the Right Alt key.
182
/// @return The state of the Right Alt key.
183
- bool FlagRAltState() const { return (SDL_GetModState() & SDL_KMOD_RALT) > 0; }
+ bool FlagRAltState() const { return (SDL_GetModState() & (SDL_KMOD_RALT | SDL_KMOD_MODE)) > 0; }
184
185
/// Gets the state of either Alt key.
186
/// @return The state of either Alt key.
0 commit comments