aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorBastien Bouclet2017-09-09 16:43:55 +0200
committerBastien Bouclet2017-11-19 16:12:50 +0100
commit8beb519c5ea2964ce409aabbe03b54afe37e0ac1 (patch)
tree7d33e93682ddba69ffdbf3625f9a6eab2c1df98f /engines/dm
parent7689fd7308020aac0bb788cafc524bd7f01077f4 (diff)
downloadscummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.tar.gz
scummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.tar.bz2
scummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.zip
EVENTS: Rename synthetic to kbdRepeat
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/eventman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index f424672b67..1d914bb183 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -609,7 +609,7 @@ Common::EventType EventManager::processInput(Common::Event *grabKey, Common::Eve
while (g_system->getEventManager()->pollEvent(event)) {
switch (event.type) {
case Common::EVENT_KEYDOWN: {
- if (event.synthetic)
+ if (event.kbdRepeat)
break;
if (event.kbd.keycode == Common::KEYCODE_d && event.kbd.hasFlags(Common::KBD_CTRL)) {