aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp
index c241a6551a..5e45bf9790 100644
--- a/engines/lure/surface.cpp
+++ b/engines/lure/surface.cpp
@@ -730,7 +730,7 @@ bool SaveRestoreDialog::show(bool saveDialog) {
bool doneFlag = false;
while (!abortFlag && !doneFlag) {
// Provide highlighting of lines to select a save slot
- while (!(mouse.lButton() && (selectedLine != -1)) && !mouse.rButton()) {
+ while (!abortFlag && !(mouse.lButton() && (selectedLine != -1)) && !mouse.rButton()) {
abortFlag = events.quitFlag;
if (abortFlag) break;