GOB: Don't not play videos with only sound

svn-id: r55349
This commit is contained in:
Sven Hesse 2011-01-20 12:28:46 +00:00
parent 75c840b527
commit 3976342ec0

View File

@ -114,7 +114,8 @@ int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties
if (!(video->decoder = openVideo(file, properties)))
return -1;
if (video->decoder->isPaletted() != !_vm->isTrueColor()) {
if (video->decoder->hasVideo() && !(properties.flags & kFlagNoVideo) &&
(video->decoder->isPaletted() != !_vm->isTrueColor())) {
if (!properties.switchColorMode)
return -1;