mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 07:23:05 +00:00
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:
parent
85ba7876d9
commit
74be7ed959
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user