aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/score.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 7b03ca1a7d..1345f4b912 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -365,6 +365,11 @@ void Score::loadCastData(Common::SeekableSubReadStreamEndian &stream) {
}
void Score::loadLabels(Common::SeekableSubReadStreamEndian &stream) {
+ if (_vm->getVersion() >= 4) { // HACK: Skip the header. Why it is there?
+ stream.readUint32LE();
+ stream.readUint32LE();
+ }
+
_labels = new Common::SortedArray<Label *>(compareLabels);
uint16 count = stream.readUint16() + 1;
uint16 offset = count * 4 + 2;