aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles/logic.cpp
diff options
context:
space:
mode:
authorLe Philousophe2019-06-08 11:27:14 +0200
committerLe Philousophe2019-06-08 12:43:22 +0200
commitdeb92e13ebe309fba67fab47eca003dcb0b06e97 (patch)
tree4ff8fd91ae66510a11a51623f00e47505eb2f890 /engines/cryomni3d/versailles/logic.cpp
parent89922138e2f9f29b1265aabe6e250fa050411caa (diff)
downloadscummvm-rg350-deb92e13ebe309fba67fab47eca003dcb0b06e97.tar.gz
scummvm-rg350-deb92e13ebe309fba67fab47eca003dcb0b06e97.tar.bz2
scummvm-rg350-deb92e13ebe309fba67fab47eca003dcb0b06e97.zip
CRYOMNI3D: Use shouldAbort to prepare GMM in-game load
Diffstat (limited to 'engines/cryomni3d/versailles/logic.cpp')
-rw-r--r--engines/cryomni3d/versailles/logic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp
index 02592ee871..48c919b2b3 100644
--- a/engines/cryomni3d/versailles/logic.cpp
+++ b/engines/cryomni3d/versailles/logic.cpp
@@ -3090,7 +3090,7 @@ IMG_CB(88004b) {
break;
}
}
- if (!shouldQuit()) {
+ if (!shouldAbort()) {
// Close the toilets
playInGameVideo("31j32b");
// Force reload of the place
@@ -3163,7 +3163,7 @@ INIT_PLACE(1, 3) {
FILTER_EVENT(1, 3) {
if (*event == 11301) {
- while (!g_engine->shouldQuit() && _mixer->isSoundIDActive(SoundIds::kLeb001)) {
+ while (!shouldAbort() && _mixer->isSoundIDActive(SoundIds::kLeb001)) {
g_system->updateScreen();
g_system->delayMillis(10);
pollEvents();