diff options
Diffstat (limited to 'engines/titanic/support')
-rw-r--r-- | engines/titanic/support/movie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp index 2784bda4b0..8810cf0a6c 100644 --- a/engines/titanic/support/movie.cpp +++ b/engines/titanic/support/movie.cpp @@ -133,7 +133,7 @@ void OSMovie::playClip(const Point &drawPos, uint startFrame, uint endFrame) { drawPos.y + (heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT) ); - uint timePerFrame = 1000 / _aviSurface._frameRate; + uint timePerFrame = (uint)(1000.0 / _aviSurface._frameRate); for (; endFrame >= startFrame; ++startFrame) { // Set the frame |