diff options
author | Eugene Sandulenko | 2018-03-28 00:41:56 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 00:41:56 +0200 |
commit | 5d8ff054f246cdeb6171727dc75f0934f8f32ba6 (patch) | |
tree | 8e625dc932bf44ed022534440fee695a5b460427 /engines/bladerunner/ui/end_credits.cpp | |
parent | 3a41e5f36422c3a3540ce5dadf7b95cd0fe40564 (diff) | |
download | scummvm-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/ui/end_credits.cpp')
-rw-r--r-- | engines/bladerunner/ui/end_credits.cpp | 2 |
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; } |