diff options
author | Bastien Bouclet | 2018-04-27 19:26:21 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-04-27 19:29:18 +0200 |
commit | 4ce71f39225b7bc229f0048cf3bcdf5320dc9a84 (patch) | |
tree | 9d6f517048b3fe6b451e5131efa9825718e0f8e5 /engines | |
parent | 52e247e2397f189667d4637241c25050c6279224 (diff) | |
download | scummvm-rg350-4ce71f39225b7bc229f0048cf3bcdf5320dc9a84.tar.gz scummvm-rg350-4ce71f39225b7bc229f0048cf3bcdf5320dc9a84.tar.bz2 scummvm-rg350-4ce71f39225b7bc229f0048cf3bcdf5320dc9a84.zip |
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.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/myst_stacks/dni.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/dni.cpp b/engines/mohawk/myst_stacks/dni.cpp index 96dba7f39c..a38b5d3857 100644 --- a/engines/mohawk/myst_stacks/dni.cpp +++ b/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; |