aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 13:43:44 +0000
committerFilippos Karapetis2009-02-15 13:43:44 +0000
commit2ef26fcd4ac2902a83603d63671c37ef6fed0dbb (patch)
treeb537541e3b6e2bf9e5ed90235a35aca0104fc3c1 /engines/sword1
parent781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b (diff)
downloadscummvm-rg350-2ef26fcd4ac2902a83603d63671c37ef6fed0dbb.tar.gz
scummvm-rg350-2ef26fcd4ac2902a83603d63671c37ef6fed0dbb.tar.bz2
scummvm-rg350-2ef26fcd4ac2902a83603d63671c37ef6fed0dbb.zip
Oops, fixed Smacker video playing in BS1
svn-id: r38237
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index f6e6e4d1db..1b402c5455 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -144,8 +144,8 @@ bool MoviePlayer::load(uint32 id) {
}
if (_decoder->loadFile(filename)) {
- // The Broken Sword games always use external audio tracks.
- if (_decoder->readSoundHeader() != MKID_BE('NULL'))
+ // The DXA animations in the Broken Sword games always use external audio tracks.
+ if (_decoderType == kVideoDecoderDXA && _decoder->readSoundHeader() != MKID_BE('NULL'))
return false;
} else {
return false;