aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-29 00:05:56 +1100
committerPaul Gilbert2012-10-29 00:05:56 +1100
commitc9f9527ad9b08682ec32496b213e47759eaa83f5 (patch)
treee268794a28859817ffe8fc0e8370fdfefc80ef48
parente99a5c02b59784efc659f5ef77292909f7daf6b0 (diff)
downloadscummvm-rg350-c9f9527ad9b08682ec32496b213e47759eaa83f5.tar.gz
scummvm-rg350-c9f9527ad9b08682ec32496b213e47759eaa83f5.tar.bz2
scummvm-rg350-c9f9527ad9b08682ec32496b213e47759eaa83f5.zip
HOPKINS: Another shouldQuit() check in PERSONAGE
-rw-r--r--engines/hopkins/objects.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp
index 436996c1e0..0b3fe161c0 100644
--- a/engines/hopkins/objects.cpp
+++ b/engines/hopkins/objects.cpp
@@ -5650,7 +5650,10 @@ void ObjectsManager::PERSONAGE(const Common::String &s1, const Common::String &s
continue;
}
v5 = 1;
- } while (v5 != 1);
+ } while (!_vm->shouldQuit() && v5 != 1);
+ if (_vm->shouldQuit())
+ return;
+
_vm->_graphicsManager.FADE_OUTW();
if (!s3.empty())
_vm->_graphicsManager.FIN_VISU();