diff options
author | Filippos Karapetis | 2013-05-11 17:20:57 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-11 17:20:57 +0300 |
commit | bdd131450f415c4871452078f876baa5f8baeea5 (patch) | |
tree | 85289cc171f5c53671ae231fb3069427f2142c24 /engines/queen | |
parent | 5fadff59f9b15936bd903d5e0bd51f225d243b82 (diff) | |
download | scummvm-rg350-bdd131450f415c4871452078f876baa5f8baeea5.tar.gz scummvm-rg350-bdd131450f415c4871452078f876baa5f8baeea5.tar.bz2 scummvm-rg350-bdd131450f415c4871452078f876baa5f8baeea5.zip |
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
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |