aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 905c309023..5d31c31b7b 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -139,7 +139,6 @@ bool VideoPlayer::openVideo(const char *video, int16 x, int16 y, int16 flags, Ty
}
strcpy(_curFile, fileName);
- _video->setXY(x, y);
if (!(flags & kFlagNoVideo)) {
_backSurf = ((flags & kFlagFrontSurface) == 0);
@@ -154,6 +153,7 @@ bool VideoPlayer::openVideo(const char *video, int16 x, int16 y, int16 flags, Ty
if (!_video)
return false;
+ _video->setXY(x, y);
WRITE_VAR(7, _video->getFramesCount());
return true;