[Scummvm-cvs-logs] scummvm master -> 4095ae1ba8e113a06924ec4c87383631c1fa5691
Strangerke
Strangerke at scummvm.org
Sat Nov 9 22:16:54 CET 2013
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:
4095ae1ba8 MORTVIELLE: Add missing check on shouldQuit() (which fixes CID 1063228)
Commit: 4095ae1ba8e113a06924ec4c87383631c1fa5691
https://github.com/scummvm/scummvm/commit/4095ae1ba8e113a06924ec4c87383631c1fa5691
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-09T13:15:41-08:00
Commit Message:
MORTVIELLE: Add missing check on shouldQuit() (which fixes CID 1063228)
Changed paths:
engines/mortevielle/utils.cpp
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 0b13df2..c4f2d57 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -2933,7 +2933,9 @@ void MortevielleEngine::testKey(bool d) {
do {
_mouse.getMousePosition(x, y, click);
- keyPressed();
+ quest = keyPressed();
+ if (quest && shouldQuit())
+ return;
} while (click);
// Event loop
More information about the Scummvm-git-logs
mailing list