diff options
author | Sven Hesse | 2011-01-20 17:07:46 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-20 17:07:46 +0000 |
commit | fd7159075d1d7f1a0425999b316e820d00fb23c6 (patch) | |
tree | 6c88f9a09caa733dda339ae6c0a471d903110b08 /engines | |
parent | 33ed3fa8a072c5260c1dd5c6662fc2162470bd04 (diff) | |
download | scummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.tar.gz scummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.tar.bz2 scummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.zip |
GOB: Give sound-only videos 500 extra ms for good measure
svn-id: r55357
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/inter_v6.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 5f93f9af26..d295bd7da8 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -180,8 +180,13 @@ void Inter_v6::o6_playVmdOrMusic() { if (props.startFrame >= 0) _vm->_vidPlayer->play(slot, props); - if (close && !(props.flags & VideoPlayer::kFlagNonBlocking)) + if (close && !(props.flags & VideoPlayer::kFlagNonBlocking)) { + if ((props.flags & VideoPlayer::kFlagNoVideo) && (!props.canceled)) + _vm->_util->longDelay(500); + _vm->_vidPlayer->closeVideo(slot); + } + } void Inter_v6::o6_openItk() { |