mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
Changed interruptableDelay method to not break when a modifier key is pressed
svn-id: r29871
This commit is contained in:
parent
2a8166dde5
commit
258bd20a83
@ -205,7 +205,7 @@ bool Events::interruptableDelay(uint32 milliseconds) {
|
||||
if (events.quitFlag) return true;
|
||||
|
||||
if (events.pollEvent()) {
|
||||
if ((events.type() == Common::EVENT_KEYDOWN) ||
|
||||
if (((events.type() == Common::EVENT_KEYDOWN) && (events.event().kbd.ascii != 0)) ||
|
||||
(events.type() == Common::EVENT_LBUTTONDOWN))
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user