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 /sword1/animation.cpp | |
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 'sword1/animation.cpp')
-rw-r--r-- | sword1/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/animation.cpp b/sword1/animation.cpp index c856b6a411..07788b45f8 100644 --- a/sword1/animation.cpp +++ b/sword1/animation.cpp @@ -141,7 +141,7 @@ void MoviePlayer::play(uint32 id) { frameCount++; OSystem::Event event; while (_sys->pollEvent(event)) { - switch (event.event_code) { + switch (event.type) { #ifndef BACKEND_8BIT case OSystem::EVENT_SCREEN_CHANGED: anim->invalidateLookup(true); |