aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/movie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/movie.cpp')
-rw-r--r--engines/titanic/support/movie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp
index 3c935e83a8..2784bda4b0 100644
--- a/engines/titanic/support/movie.cpp
+++ b/engines/titanic/support/movie.cpp
@@ -129,8 +129,8 @@ void OSMovie::playClip(const Point &drawPos, uint startFrame, uint endFrame) {
bool widthLess = _videoSurface->getWidth() < 600;
bool heightLess = _videoSurface->getHeight() < 340;
Rect r(drawPos.x, drawPos.y,
- drawPos.x + widthLess ? CLIP_WIDTH_REDUCED : CLIP_WIDTH,
- drawPos.y + heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT
+ drawPos.x + (widthLess ? CLIP_WIDTH_REDUCED : CLIP_WIDTH),
+ drawPos.y + (heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT)
);
uint timePerFrame = 1000 / _aviSurface._frameRate;