From 4ce71f39225b7bc229f0048cf3bcdf5320dc9a84 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 27 Apr 2018 19:26:21 +0200 Subject: 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. --- engines/mohawk/myst_stacks/dni.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') 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; -- cgit v1.2.3