diff options
Diffstat (limited to 'scumm/input.cpp')
-rw-r--r-- | scumm/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp index 9780831915..1104a2b8a4 100644 --- a/scumm/input.cpp +++ b/scumm/input.cpp @@ -42,7 +42,7 @@ void ScummEngine::parseEvents() { while (_system->pollEvent(event)) { - switch (event.event_code) { + switch (event.type) { case OSystem::EVENT_KEYDOWN: if (event.kbd.keycode >= '0' && event.kbd.keycode <= '9' && (event.kbd.flags == OSystem::KBD_ALT || |