aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorStrangerke2015-05-18 21:29:50 +0200
committerStrangerke2015-05-18 21:29:50 +0200
commitc4513607473ed6889445b08ea4f77165df126854 (patch)
tree4d8f766777ddcd7bfa2079e1ecd370614a95fa48 /engines/sherlock
parentd82d476b277f80b69514fcb360ec47e9482e4a28 (diff)
downloadscummvm-rg350-c4513607473ed6889445b08ea4f77165df126854.tar.gz
scummvm-rg350-c4513607473ed6889445b08ea4f77165df126854.tar.bz2
scummvm-rg350-c4513607473ed6889445b08ea4f77165df126854.zip
SHERLOCK: Make loop non-interactive demo (intro)
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/sherlock.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp
index 5c7354e5f3..bdd2ec3588 100644
--- a/engines/sherlock/sherlock.cpp
+++ b/engines/sherlock/sherlock.cpp
@@ -129,7 +129,9 @@ Common::Error SherlockEngine::run() {
_saves->loadGame(_loadGameSlot);
_loadGameSlot = -1;
} else {
- showOpening();
+ do
+ showOpening();
+ while (!shouldQuit() && !_interactiveFl);
}
while (!shouldQuit()) {