diff options
-rw-r--r-- | engines/mads/mads.cpp | 3 | ||||
-rw-r--r-- | engines/mads/nebular/menu_nebular.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp index 59eec40bcc..6c1b436e3b 100644 --- a/engines/mads/mads.cpp +++ b/engines/mads/mads.cpp @@ -103,9 +103,6 @@ Common::Error MADSEngine::run() { // Run the game _game->run(); - // Dummy loop to keep application active - _events->delay(9999); - return Common::kNoError; } diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 05d1954515..e29e9ff954 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -405,6 +405,7 @@ void AdvertView::show() { events.setEventTarget(nullptr); _vm->quitGame(); + events.pollEvents(); } bool AdvertView::onEvent(Common::Event &event) { |