From bdd131450f415c4871452078f876baa5f8baeea5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 11 May 2013 17:20:57 +0300 Subject: QUEEN: Fix bug #3612408 - "QUEEN: Can't quit from ScummVM while ending cutscene" We now check if the engine should quit in the loop of the end credits animation --- engines/queen/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/queen/logic.cpp b/engines/queen/logic.cpp index 339942ee2a..ea13e5973e 100644 --- a/engines/queen/logic.cpp +++ b/engines/queen/logic.cpp @@ -1798,7 +1798,7 @@ void Logic::asmScaleBlimp() { int16 x = bob->x; int16 y = bob->y; bob->scale = 100; - while (bob->x > 150) { + while (bob->x > 150 && !_vm->shouldQuit()) { bob->x = x * 256 / z + 150; bob->y = y * 256 / z + 112; if (_vm->resource()->getPlatform() != Common::kPlatformAmiga) { -- cgit v1.2.3