diff options
Diffstat (limited to 'engines/mortevielle/utils.cpp')
-rw-r--r-- | engines/mortevielle/utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp index 0b13df239c..c4f2d5714b 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 |