Skip to content

Commit

Permalink
Fix #4690
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Aug 27, 2016
1 parent 323182c commit 2fffbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Game/Game.cpp
Expand Up @@ -879,7 +879,7 @@ int CGame::KeyPressed(int key, bool isRepeat)
for (const Action& action: actionList) {
if (ProcessKeyPressAction(key, action)) {
// the key was used, ignore it (ex: alt+a)
ignoreNextChar = true;
ignoreNextChar = keyCodes->IsPrintable(key);
break;
}
}
Expand Down

2 comments on commit 2fffbca

@gajop
Copy link
Member

@gajop gajop commented on 2fffbca Aug 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a one liner.. wow

@ashdnazg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed :)

Please sign in to comment.