diff options
author | Max Horn | 2004-12-05 17:42:20 +0000 |
---|---|---|
committer | Max Horn | 2004-12-05 17:42:20 +0000 |
commit | f09293b22cdec7d8b309baea0a58e93757c77913 (patch) | |
tree | 24a0814b173e6607e88d8e71163bcbc9d9d340ac /scumm | |
parent | 8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e (diff) | |
download | scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.gz scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.bz2 scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.zip |
Clean up OSystem::Event
svn-id: r15990
Diffstat (limited to 'scumm')
-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 || |