AGS: Keypress fixes for non-alphanumeric characters

This commit is contained in:
Paul Gilbert 2021-04-12 21:04:04 -07:00
parent a69da418f5
commit 05ea21c94d

View File

@ -87,7 +87,7 @@ int EventsManager::readKey() {
if (isExtendedKey(keyState.keycode))
code |= EXTENDED_KEY_CODE;
else if (keyState.flags == 0)
else if ((keyState.flags & (Common::KBD_CTRL | Common::KBD_ALT)) == 0)
code |= keyState.ascii;
else
code |= scancode;