Skip to content

Commit

Permalink
MADS: Fix exiting the game
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 6, 2014
1 parent 350cd83 commit 2942f93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions engines/mads/mads.cpp
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions engines/mads/nebular/menu_nebular.cpp
Expand Up @@ -405,6 +405,7 @@ void AdvertView::show() {

events.setEventTarget(nullptr);
_vm->quitGame();
events.pollEvents();
}

bool AdvertView::onEvent(Common::Event &event) {
Expand Down

0 comments on commit 2942f93

Please sign in to comment.