[Scummvm-git-logs] scummvm master -> b772bfff2c4315c7a01b1683ee7f3d12dee0c7d4

athrxx athrxx at scummvm.org
Tue Nov 9 21:27:41 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b772bfff2c KYRA: (LoK) - allow quitting the game during Malcolm/Cave sequence


Commit: b772bfff2c4315c7a01b1683ee7f3d12dee0c7d4
    https://github.com/scummvm/scummvm/commit/b772bfff2c4315c7a01b1683ee7f3d12dee0c7d4
Author: athrxx (athrxx at scummvm.org)
Date: 2021-11-09T22:27:07+01:00

Commit Message:
KYRA: (LoK) - allow quitting the game during Malcolm/Cave sequence

Changed paths:
    engines/kyra/script/script_lok.cpp


diff --git a/engines/kyra/script/script_lok.cpp b/engines/kyra/script/script_lok.cpp
index 7b40b74882..613c250f33 100644
--- a/engines/kyra/script/script_lok.cpp
+++ b/engines/kyra/script/script_lok.cpp
@@ -1332,7 +1332,7 @@ int KyraEngine_LoK::o1_waitForConfirmationMouseClick(EMCState *script) {
 	debugC(3, kDebugLevelScriptFuncs, "KyraEngine_LoK::o1_waitForConfirmationMouseClick(%p) ()", (const void *)script);
 
 	_eventList.clear();
-	while (true) {
+	while (!shouldQuit()) {
 		updateMousePointer();
 		_sprites->updateSceneAnims();
 		_animator->updateAllObjectShapes();




More information about the Scummvm-git-logs mailing list