aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-28 00:41:56 +0200
committerEugene Sandulenko2018-03-28 00:41:56 +0200
commit5d8ff054f246cdeb6171727dc75f0934f8f32ba6 (patch)
tree8e625dc932bf44ed022534440fee695a5b460427 /engines/bladerunner
parent3a41e5f36422c3a3540ce5dadf7b95cd0fe40564 (diff)
downloadscummvm-rg350-5d8ff054f246cdeb6171727dc75f0934f8f32ba6.tar.gz
scummvm-rg350-5d8ff054f246cdeb6171727dc75f0934f8f32ba6.tar.bz2
scummvm-rg350-5d8ff054f246cdeb6171727dc75f0934f8f32ba6.zip
BLADERUNNER: Allow quit credits on windows closing
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/ui/end_credits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/ui/end_credits.cpp b/engines/bladerunner/ui/end_credits.cpp
index 692e8fbbf9..1ab0b9f8a3 100644
--- a/engines/bladerunner/ui/end_credits.cpp
+++ b/engines/bladerunner/ui/end_credits.cpp
@@ -97,7 +97,7 @@ void EndCredits::show() {
double position = 0.0;
uint32 timeLast = _vm->getTotalPlayTime();
- while (!_vm->_vqaStopIsRequested) {
+ while (!_vm->_vqaStopIsRequested && !_vm->shouldQuit()) {
if (position >= textPositions[textCount - 1]) {
break;
}