MOHAWK: Myst: Fix the sound receiver sound restarting on each frame

Fixes #9921.
This commit is contained in:
Bastien Bouclet
2017-07-09 06:56:00 +02:00
parent c4207ad3a3
commit 33cfcfd5ff
+1 -1
View File
@@ -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) {