Skip to content
Permalink
Browse files

MOHAWK: MYST: Fix two Atrus videos playing at the same time in D'ni

In D'ni, after giving the white page to Atrus, or after coming without a
page, too videos of Atrus would play on top of each other after waiting
long enough for the first video to loop.

Fixes #10503.
  • Loading branch information
bgK committed Apr 27, 2018
1 parent 52e247e commit 4ce71f39225b7bc229f0048cf3bcdf5320dc9a84
Showing with 2 additions and 0 deletions.
  1. +2 −0 engines/mohawk/myst_stacks/dni.cpp
@@ -127,6 +127,7 @@ void Dni::atrusLeft_run() {
atrus->moveTo(_videoPos.x, _videoPos.y);
atrus->setBounds(Audio::Timestamp(0, 0, 600), Audio::Timestamp(0, 98000, 600));

_atrusRunning = false;
_waitForLoop = true;
_loopStart = 73095;
_loopEnd = 98000;
@@ -187,6 +188,7 @@ void Dni::atrus_run() {
atrus->moveTo(_videoPos.x, _videoPos.y);
atrus->setBounds(Audio::Timestamp(0, 0, 600), Audio::Timestamp(0, 46175, 600));

_atrusRunning = false;
_waitForLoop = true;
_loopStart = 30656;
_loopEnd = 46175;

0 comments on commit 4ce71f3

Please sign in to comment.
You can’t perform that action at this time.