diff options
Diffstat (limited to 'sword1/credits.cpp')
-rw-r--r-- | sword1/credits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/credits.cpp b/sword1/credits.cpp index 0454bbe163..4e55d75556 100644 --- a/sword1/credits.cpp +++ b/sword1/credits.cpp @@ -273,7 +273,7 @@ void CreditsPlayer::delay(int msecs) { uint32 start = _system->getMillis(); do { while (_system->pollEvent(event)) { - switch (event.event_code) { + switch (event.type) { case OSystem::EVENT_QUIT: SwordEngine::_systemVars.engineQuit = true; break; |