diff options
Diffstat (limited to 'engines/simon')
-rw-r--r-- | engines/simon/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/animation.cpp b/engines/simon/animation.cpp index a00c21dba0..26bf873f71 100644 --- a/engines/simon/animation.cpp +++ b/engines/simon/animation.cpp @@ -247,7 +247,7 @@ void MoviePlayer::processFrame() { memcpy(_vm->_frontBuf, _frameBuffer1, _frameSize); _vm->_system->copyRectToScreen(_vm->_frontBuf, _width, x, y, _width, _height); - if ((_bgSoundStream == NULL) || ((_mixer->getSoundElapsedTime(_bgSound) * _frameRate) / 1000 < _frameNum + 1) || + if ((_bgSoundStream == NULL) || ((int)(_mixer->getSoundElapsedTime(_bgSound) * _frameRate) / 1000 < _frameNum + 1) || _frameSkipped > _frameRate) { if (_frameSkipped > _frameRate) { warning("force frame %i redraw", _frameNum); |