mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
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.
This commit is contained in:
@@ -255,6 +255,7 @@ void RivenVideo::playBlocking(int32 endTime) {
|
||||
if (playTillEnd) {
|
||||
disable();
|
||||
stop();
|
||||
seek(0);
|
||||
}
|
||||
|
||||
// Execute the stored opcode
|
||||
|
||||
Reference in New Issue
Block a user