Skip to content

Commit

Permalink
MOHAWK: MYST: Fix two Atrus videos playing at the same time in D'ni
Browse files Browse the repository at this point in the history
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 4ce71f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/mohawk/myst_stacks/dni.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4ce71f3

Please sign in to comment.