From 74be7ed959700ffe0fde025c88c79da8d7f33af7 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 20 Aug 2013 08:43:18 +0200 Subject: MOHAWK: Stop videos on stack change Otherwise there may be both a book video and a flyby video playing at the same time. Maybe it should only stop videos if there really is a flyby video, but it already stops all sounds and may play a blocking sound etc., so it makes sense to me to always do it. --- engines/mohawk/myst.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/mohawk') diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 8140817eb3..975c6c2a21 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -418,6 +418,7 @@ void MohawkEngine_Myst::changeToStack(uint16 stack, uint16 card, uint16 linkSrcS _sound->stopSound(); _sound->stopBackgroundMyst(); + _video->stopVideos(); if (linkSrcSound) _sound->playSoundBlocking(linkSrcSound); -- cgit v1.2.3