We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2135333 commit f2eab9bCopy full SHA for f2eab9b
1 file changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/MetaEvent.cpp
@@ -595,6 +595,14 @@ GameMessageDisposition MetaEventTranslator::translateGameMessage(const GameMessa
595
m_keyDownInfos[key].setKeyModState((MappableKeyModState)newModState);
596
}
597
598
+ else
599
+ {
600
+ if (newModState != NONE)
601
602
+ // Forget that this key and mod state are pressed.
603
+ m_keyDownInfos[key].clearKeyModState((MappableKeyModState)newModState);
604
+ }
605
606
607
m_lastModState = newModState;
608
0 commit comments