aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-09-05 21:39:10 -0400
committerPaul Gilbert2014-09-05 21:39:10 -0400
commit2942f93ed5c884fdd3843ff56b6a2688fdb780dc (patch)
tree1670f303d235b1cc45b160cdd3fba124686fa931 /engines/mads/nebular/menu_nebular.cpp
parent350cd83050c5022296b31f2228d0d56e36b413bd (diff)
downloadscummvm-rg350-2942f93ed5c884fdd3843ff56b6a2688fdb780dc.tar.gz
scummvm-rg350-2942f93ed5c884fdd3843ff56b6a2688fdb780dc.tar.bz2
scummvm-rg350-2942f93ed5c884fdd3843ff56b6a2688fdb780dc.zip
MADS: Fix exiting the game
Diffstat (limited to 'engines/mads/nebular/menu_nebular.cpp')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp1
1 files changed, 1 insertions, 0 deletions
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) {