Permalink
Browse files

MOHAWK: RIVEN: Rewind videos that are played until their end

When videos are skipped, they would sometimes not quite be seeked to the
last frame. In that case, when they are played again without being
restarted, they would end immediatly.

Now videos are automatically rewinded when they end or are skipped so
that they always start from the beginning when played again.

Fixes #10389.
  • Loading branch information...
bgK committed Jan 1, 2018
1 parent d6078ea commit cf1171d4d9b43eba525439da82db16cd4aac0414
Showing with 1 addition and 0 deletions.
  1. +1 −0 engines/mohawk/riven_video.cpp
@@ -255,6 +255,7 @@ void RivenVideo::playBlocking(int32 endTime) {
if (playTillEnd) {
disable();
stop();
seek(0);
}
// Execute the stored opcode

0 comments on commit cf1171d

Please sign in to comment.