From 690bea4c8831895ec74c022aeda599a9a7d119f6 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 20 Nov 2014 13:31:56 +0100 Subject: ACCESS: Trigger quit game at the end of doCast --- engines/access/amazon/amazon_scripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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() { -- cgit v1.2.3