diff options
author | Torbjörn Andersson | 2013-08-20 08:43:18 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-08-20 08:43:18 +0200 |
commit | 74be7ed959700ffe0fde025c88c79da8d7f33af7 (patch) | |
tree | cdfc719064b9c75ec5bc67224c3cf0b02ee0a907 /engines | |
parent | 85ba7876d96c851596a4a4a415862f31c492bc96 (diff) | |
download | scummvm-rg350-74be7ed959700ffe0fde025c88c79da8d7f33af7.tar.gz scummvm-rg350-74be7ed959700ffe0fde025c88c79da8d7f33af7.tar.bz2 scummvm-rg350-74be7ed959700ffe0fde025c88c79da8d7f33af7.zip |
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.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/myst.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |