aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-30 09:10:54 +0000
committerTorbjörn Andersson2006-07-30 09:10:54 +0000
commit066aa14f977842478c923e5213a06c9815e86ebe (patch)
treebcb8f31d845db77265d8b12999264c816244d2e4
parentc1a24c9cdb270b6b65c2618d51abdc6dca3bc6c4 (diff)
downloadscummvm-rg350-066aa14f977842478c923e5213a06c9815e86ebe.tar.gz
scummvm-rg350-066aa14f977842478c923e5213a06c9815e86ebe.tar.bz2
scummvm-rg350-066aa14f977842478c923e5213a06c9815e86ebe.zip
It's play(), not open(), that encounters the CMDS tag. At least in the intro
movie, which is the only one we currently play. svn-id: r23626
-rw-r--r--engines/kyra/vqa.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/kyra/vqa.cpp b/engines/kyra/vqa.cpp
index b31ea979bf..b0974ae213 100644
--- a/engines/kyra/vqa.cpp
+++ b/engines/kyra/vqa.cpp
@@ -398,9 +398,6 @@ bool VQAMovie::open(const char *filename) {
}
break;
- case MKID_BE('CMDS'): // Unused tag, always empty in kyra3
- debugC(9, kDebugLevelMovie, "VQAMovie::open: skipping CMDS tag");
- break;
default:
warning("VQAMovie::open: Unknown tag `%c%c%c%c'", (tag >> 24) & 0xFF, (tag >> 16) & 0xFF, (tag >> 8) & 0xFF, tag & 0xFF);
@@ -688,6 +685,11 @@ void VQAMovie::play() {
_file.seek(size, SEEK_CUR);
break;
+ case MKID_BE('CMDS'): // Unused tag, always empty in kyra3
+ debugC(9, kDebugLevelMovie, "VQAMovie::play: skipping CMDS tag");
+ _file.seek(size, SEEK_CUR);
+ break;
+
default:
warning("VQAMovie::play: Unknown tag `%c%c%c%c'", (tag >> 24) & 0xFF, (tag >> 16) & 0xFF, (tag >> 8) & 0xFF, tag & 0xFF);
_file.seek(size, SEEK_CUR);