[Scummvm-git-logs] scummvm master -> 63592e6a0f58e6d847f17ba715912f84eec3c134

bgK bastien.bouclet at gmail.com
Wed Apr 11 07:49:21 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
63592e6a0f MOHAWK: MYST: Fix missing sound effect when using the rocket slider


Commit: 63592e6a0f58e6d847f17ba715912f84eec3c134
    https://github.com/scummvm/scummvm/commit/63592e6a0f58e6d847f17ba715912f84eec3c134
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2018-04-11T07:49:12+02:00

Commit Message:
MOHAWK: MYST: Fix missing sound effect when using the rocket slider

Fixes #10485.

Changed paths:
    engines/mohawk/myst_stacks/myst.cpp


diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index bbecebb..82e29eb 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -2441,7 +2441,7 @@ void Myst::o_rocketLeverMove(uint16 var, const ArgumentsArray &args) {
 		uint16 soundId = lever->getList2(0);
 
 		if (soundId)
-			_vm->_sound->playEffect(soundId);
+			_vm->playSoundBlocking(soundId);
 
 		// If rocket correctly powered
 		if (_state.generatorVoltage == 59 && !_state.generatorBreakers)





More information about the Scummvm-git-logs mailing list