aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/event.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-21 10:46:35 +0000
committerFilippos Karapetis2010-08-21 10:46:35 +0000
commitdcd6c9eaf0129fe804f50534aed7dc6eafdaf2bd (patch)
tree48157f2d3be1b7c612bf997e87df10a43b988271 /engines/sci/event.cpp
parent107c39910da802c10498501139b545e71cd94daf (diff)
downloadscummvm-rg350-dcd6c9eaf0129fe804f50534aed7dc6eafdaf2bd.tar.gz
scummvm-rg350-dcd6c9eaf0129fe804f50534aed7dc6eafdaf2bd.tar.bz2
scummvm-rg350-dcd6c9eaf0129fe804f50534aed7dc6eafdaf2bd.zip
SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by handling synthetic (keyboard repeat) events and adding support for Control-C
svn-id: r52252
Diffstat (limited to 'engines/sci/event.cpp')
-rw-r--r--engines/sci/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 5923e501cf..3234ab68ff 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -149,7 +149,7 @@ SciEvent EventManager::getScummVMEvent() {
found = em->pollEvent(ev);
}
- if (found && !ev.synthetic && ev.type != Common::EVENT_MOUSEMOVE) {
+ if (found && ev.type != Common::EVENT_MOUSEMOVE) {
int modifiers = em->getModifierState();
// We add the modifier key status to buckybits