aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-06 15:56:26 -0700
committerPaul Gilbert2019-07-06 15:56:26 -0700
commit43bc2e4853e985536a54f00b4e7aa9e87a9b37b6 (patch)
treec6394f51dcf68082a60dc73f3fd63b281bf5240c /engines
parentf445578a4d11929e381caed81aa0df973c655ab6 (diff)
downloadscummvm-rg350-43bc2e4853e985536a54f00b4e7aa9e87a9b37b6.tar.gz
scummvm-rg350-43bc2e4853e985536a54f00b4e7aa9e87a9b37b6.tar.bz2
scummvm-rg350-43bc2e4853e985536a54f00b4e7aa9e87a9b37b6.zip
GLK: ALAN3: Fix restarting game from quit command
Diffstat (limited to 'engines')
-rw-r--r--engines/glk/alan3/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan3/main.cpp b/engines/glk/alan3/main.cpp
index e56ac87b1c..27f87ad237 100644
--- a/engines/glk/alan3/main.cpp
+++ b/engines/glk/alan3/main.cpp
@@ -825,10 +825,10 @@ void run(void) {
}
}
}
-
- if (ctx._break && ctx._label == "restart")
- break;
}
+
+ if (ctx._break && ctx._label == "restart")
+ break;
}
} while (!g_vm->shouldQuit() && ctx._label == "restart");
}