aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-11-20 13:31:56 +0100
committerPaul Gilbert2014-12-12 22:36:11 -0500
commit690bea4c8831895ec74c022aeda599a9a7d119f6 (patch)
tree64c5ddd6ce335f64cd92787045238cd718099c45
parent43f7fe9182a151f070c93dae4550dc022aeb12be (diff)
downloadscummvm-rg350-690bea4c8831895ec74c022aeda599a9a7d119f6.tar.gz
scummvm-rg350-690bea4c8831895ec74c022aeda599a9a7d119f6.tar.bz2
scummvm-rg350-690bea4c8831895ec74c022aeda599a9a7d119f6.zip
ACCESS: Trigger quit game at the end of doCast
-rw-r--r--engines/access/amazon/amazon_scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp
index 451c689350..4c4f2f376b 100644
--- a/engines/access/amazon/amazon_scripts.cpp
+++ b/engines/access/amazon/amazon_scripts.cpp
@@ -1064,8 +1064,8 @@ void AmazonScripts::doCast(int param1) {
_vm->_images.clear();
_vm->_screen->forceFadeOut();
- warning("TODO: EXIT");
-
+ _vm->quitGame();
+ _vm->_events->pollEvents();
}
void AmazonScripts::setInactive() {