aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorsluicebox2019-12-04 08:27:39 -0800
committersluicebox2019-12-04 09:11:21 -0800
commitda9c7d3d5bb5b64f026d20eabfa8f3cb4297867b (patch)
tree404931df292c62d4c8d9fcd3fbffc909301e16f9 /engines/sci
parent310ea54e6dd74029bce1e0a022c6d1d175595500 (diff)
downloadscummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.tar.gz
scummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.tar.bz2
scummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.zip
SCI32: Fix VMDPlayer yielding when frames skipped
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/video32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp
index e6e594b211..7133be5bf4 100644
--- a/engines/sci/graphics/video32.cpp
+++ b/engines/sci/graphics/video32.cpp
@@ -731,7 +731,7 @@ VMDPlayer::EventFlags VMDPlayer::playUntilEvent(const EventFlags flags, const ui
VMDPlayer::EventFlags VMDPlayer::checkForEvent(const EventFlags flags) {
const int currentFrameNo = _decoder->getCurFrame();
- if (currentFrameNo == _yieldFrame) {
+ if (currentFrameNo >= _yieldFrame) {
return kEventFlagEnd;
}