aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-27 18:28:53 +0100
committerEugene Sandulenko2017-02-27 18:28:53 +0100
commit63f168cd1c020fe4801a1d4f4ced8864918cc1b1 (patch)
treeef985f706a755f9b8961418af25e1cd02a93a940
parent927838011648f72a860974281b44afc6e72e972a (diff)
downloadscummvm-rg350-63f168cd1c020fe4801a1d4f4ced8864918cc1b1.tar.gz
scummvm-rg350-63f168cd1c020fe4801a1d4f4ced8864918cc1b1.tar.bz2
scummvm-rg350-63f168cd1c020fe4801a1d4f4ced8864918cc1b1.zip
DIRECTOR: Fix frame script execution
No idea why the initial frame was removed, but that caused everything to be shifted by 1, and thus, incorrect scripts were launched
-rw-r--r--engines/director/score.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index bb4ac931c0..c26a09927f 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -272,9 +272,6 @@ void Score::loadFrames(Common::SeekableSubReadStreamEndian &stream) {
_frames.push_back(frame);
}
-
- // Remove initial frame
- _frames.remove_at(0);
}
void Score::loadConfig(Common::SeekableSubReadStreamEndian &stream) {