From cfa2d62d5d77b15a01b1902222cfb40400630340 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 5 Mar 2016 20:41:55 +0100 Subject: MOHAWK: Fix error at the end of the Myst credits --- engines/mohawk/myst_stacks/credits.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/myst_stacks/credits.cpp') diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp index 6548dd3171..b4a2076528 100644 --- a/engines/mohawk/myst_stacks/credits.cpp +++ b/engines/mohawk/myst_stacks/credits.cpp @@ -67,8 +67,10 @@ void Credits::runPersistentScripts() { _curImage++; // After the 6th image has shown, it's time to quit - if (_curImage == 7) + if (_curImage == 7) { _vm->quitGame(); + return; + } // Draw next image _vm->drawCardBackground(); -- cgit v1.2.3