diff options
author | Sven Hesse | 2011-01-22 15:06:12 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-22 15:06:12 +0000 |
commit | 2bb8cf25df3f3fb8bb9eebb11d22d812b9310f2f (patch) | |
tree | 2bad9c2cea047ee8dabf7a61634539a665175233 /engines/gob | |
parent | 7dd28c024aa68f76be48de23b66f27dc6cec90cc (diff) | |
download | scummvm-rg350-2bb8cf25df3f3fb8bb9eebb11d22d812b9310f2f.tar.gz scummvm-rg350-2bb8cf25df3f3fb8bb9eebb11d22d812b9310f2f.tar.bz2 scummvm-rg350-2bb8cf25df3f3fb8bb9eebb11d22d812b9310f2f.zip |
GOB: Force live videos onto the backSurface
Fixes some inventory list uglyness in live videos.
It still flickers when mousing over it though, and keeps popping
when mousing over the register during the hotel scene
svn-id: r55429
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/videoplayer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index c0e450c9a2..932a6394a4 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -87,6 +87,9 @@ void VideoPlayer::evaluateFlags(Properties &properties) { } else { properties.sprite = Draw::kBackSurface; } + + if (properties.noBlock && (properties.sprite == Draw::kFrontSurface)) + properties.sprite = Draw::kBackSurface; } int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties &properties) { @@ -314,8 +317,6 @@ void VideoPlayer::updateLive(bool force) { if (!_liveProperties.loop) { WRITE_VAR_OFFSET(212, (uint32)-1); - if (video->surface == _vm->_draw->_frontSurface) - _vm->_draw->forceBlit(true); _vm->_vidPlayer->closeVideo(); return; } else { |