diff options
author | Matthew Hoops | 2010-01-22 04:24:04 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-22 04:24:04 +0000 |
commit | 0388e359e0d048327fd028e93c6155907986ae50 (patch) | |
tree | 5829906d197573fa61613be19bd80489c21b6394 /engines/mohawk/myst.cpp | |
parent | c04f8d00b15d0ebedce6b27e60e64a48f9259e42 (diff) | |
download | scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.tar.gz scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.tar.bz2 scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.zip |
Always loop sounds declared in the VIEW resources of Myst. While Myst specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME.
svn-id: r47431
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 6c4623027f..8c610d9574 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -397,7 +397,10 @@ void MohawkEngine_Myst::changeToCard(uint16 card) { _sound->stopSound(); // TODO: Need to keep sound handle and add function to change volume of // looped running sound for kMystSoundActionChangeVolume type - _sound->playSound(soundAction, true, soundActionVolume); + + // NOTE: All sounds are looped when played via the sound section of the + // VIEW resources. + _sound->playSound(soundAction, true, soundActionVolume, true); } else { error("Unknown sound action %d", soundAction); } |