mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
MOHAWK: Stop the engine sound when Myst's generator voltage goes down to zero (patch from P. Monnerat)
This commit is contained in:
parent
e0030a2aab
commit
ac53915d01
@ -1350,8 +1350,10 @@ void Myst::o_generatorButtonPressed(uint16 op, uint16 var, uint16 argc, uint16 *
|
||||
|
||||
if (_state.generatorVoltage)
|
||||
_vm->_sound->replaceSoundMyst(8297);
|
||||
else
|
||||
else {
|
||||
_vm->_sound->replaceSoundMyst(9297);
|
||||
_vm->_sound->stopBackgroundMyst();
|
||||
}
|
||||
} else {
|
||||
if (_generatorVoltage)
|
||||
_vm->_sound->replaceSoundMyst(6297);
|
||||
|
Loading…
x
Reference in New Issue
Block a user