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.
This commit is contained in:
Torbjörn Andersson 2013-08-20 08:43:18 +02:00
parent 85ba7876d9
commit 74be7ed959

View File

@ -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);