aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-04 21:56:09 -0400
committerPaul Gilbert2016-11-04 21:56:09 -0400
commit37e4ca3fbcf1bb6524d8d64b9e81a8c72466a157 (patch)
tree88eea4615edc3813b8dd905942b554d05434bc81 /engines/titanic
parent2eea7dc9615b665ffcae881f8cf921a295399453 (diff)
downloadscummvm-rg350-37e4ca3fbcf1bb6524d8d64b9e81a8c72466a157.tar.gz
scummvm-rg350-37e4ca3fbcf1bb6524d8d64b9e81a8c72466a157.tar.bz2
scummvm-rg350-37e4ca3fbcf1bb6524d8d64b9e81a8c72466a157.zip
TITANIC: Fix doubling the size of half size video clips
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/support/movie.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp
index 2115906992..949ed62fca 100644
--- a/engines/titanic/support/movie.cpp
+++ b/engines/titanic/support/movie.cpp
@@ -126,19 +126,12 @@ void OSMovie::playCutscene(const Rect &drawRect, uint startFrame, uint endFrame)
if (!_movieSurface)
_movieSurface = CScreenManager::_screenManagerPtr->createSurface(600, 340);
- bool widthLess = _videoSurface->getWidth() < 600;
- bool heightLess = _videoSurface->getHeight() < 340;
- Rect r(drawRect.left, drawRect.top,
- drawRect.left + (widthLess ? CLIP_WIDTH_REDUCED : CLIP_WIDTH),
- drawRect.top + (heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT)
- );
-
// Set a new event target whilst the clip plays, so standard scene drawing isn't called
CEventTarget eventTarget;
g_vm->_events->addTarget(&eventTarget);
_aviSurface.setFrame(startFrame);
- _aviSurface.playCutscene(r, startFrame, endFrame);
+ _aviSurface.playCutscene(drawRect, startFrame, endFrame);
g_vm->_events->removeTarget();
}