aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hopkins/computer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp
index b682fc2936..d46cc55260 100644
--- a/engines/hopkins/computer.cpp
+++ b/engines/hopkins/computer.cpp
@@ -873,7 +873,7 @@ int ComputerManager::HIGHT_SCORE() {
&& (uint16)(v0 - 176) <= 0xDu)
v3 = 2;
_vm->_eventsManager.VBL();
- } while (!v3);
+ } while (!v3 && !_vm->shouldQuit());
_vm->_eventsManager.MOUSE_OFF();
_vm->_graphicsManager.FADE_OUT_CASSE();
_vm->_globals.LIBERE_FICHIER(ptr);