From 2ef26fcd4ac2902a83603d63671c37ef6fed0dbb Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 15 Feb 2009 13:43:44 +0000 Subject: Oops, fixed Smacker video playing in BS1 svn-id: r38237 --- engines/sword1/animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword1') 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; -- cgit v1.2.3