From 75040819c6642c304962d02ba646e04242cd4755 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 21 Jul 2017 12:56:20 +0200 Subject: MOHAWK: Myst: Rewrite the sound code It now more closely matches the original. Effect sounds are now stopped when resuming background sounds. Fixes #9574, Fixes #9920. --- engines/mohawk/myst_areas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk/myst_areas.cpp') diff --git a/engines/mohawk/myst_areas.cpp b/engines/mohawk/myst_areas.cpp index 3bb6eb8653..61b0d8796b 100644 --- a/engines/mohawk/myst_areas.cpp +++ b/engines/mohawk/myst_areas.cpp @@ -640,7 +640,7 @@ void MystAreaSlider::updatePosition(const Common::Point &mouse) { } if (positionChanged && _dragSound) - _vm->_sound->replaceSoundMyst(_dragSound); + _vm->_sound->playEffect(_dragSound); } MystAreaDrag::MystAreaDrag(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystArea *parent) : -- cgit v1.2.3