aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/videoplayer.cpp5
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 {