aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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();