aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-09 06:52:38 +0200
committerBastien Bouclet2017-07-09 06:56:00 +0200
commit33cfcfd5ff626e8b341fdee3171bf1367191fe65 (patch)
treef571ff41272bb44802a927e2ca5db088bb09e834 /engines/mohawk/myst_stacks
parentc4207ad3a313887df8d4d94d642e5ecdbf2eb992 (diff)
downloadscummvm-rg350-33cfcfd5ff626e8b341fdee3171bf1367191fe65.tar.gz
scummvm-rg350-33cfcfd5ff626e8b341fdee3171bf1367191fe65.tar.bz2
scummvm-rg350-33cfcfd5ff626e8b341fdee3171bf1367191fe65.zip
MOHAWK: Myst: Fix the sound receiver sound restarting on each frame
Fixes #9921.
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r--engines/mohawk/myst_stacks/selenitic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp
index ad3de69ee1..8d2e660990 100644
--- a/engines/mohawk/myst_stacks/selenitic.cpp
+++ b/engines/mohawk/myst_stacks/selenitic.cpp
@@ -982,7 +982,7 @@ void Selenitic::soundReceiverIncreaseSpeed() {
void Selenitic::soundReceiverUpdateSound() {
uint16 soundId = soundReceiverCurrentSound(_state.soundReceiverCurrentSource, *_soundReceiverPosition);
- _vm->_sound->replaceSoundMyst(soundId);
+ _vm->_sound->replaceBackgroundMyst(soundId);
}
uint16 Selenitic::soundReceiverCurrentSound(uint16 source, uint16 position) {