aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-05-22 19:55:45 +0200
committerStrangerke2015-05-22 19:55:45 +0200
commit2db07a9d39cc9557d292908d84d3fc146635fd75 (patch)
tree19f26f527c67202a9e3dd337becfc34ba60beb87
parent9a58e485bfeb97c2a282f809386350e697790db5 (diff)
downloadscummvm-rg350-2db07a9d39cc9557d292908d84d3fc146635fd75.tar.gz
scummvm-rg350-2db07a9d39cc9557d292908d84d3fc146635fd75.tar.bz2
scummvm-rg350-2db07a9d39cc9557d292908d84d3fc146635fd75.zip
SHERLOCK: Skip delay when intro is skipped
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index d55517cdc3..7875f22c47 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -611,8 +611,10 @@ bool ScalpelEngine::showOfficeCutscene() {
} else
finished = _events->delay(19000);
- _events->clearEvents();
- finished = _events->delay(500);
+ if (finished) {
+ _events->clearEvents();
+ finished = _events->delay(500);
+ }
}
if (finished)