mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ZVISION: Allow multiple sound effects to play at the same time
This is the original behavior. This was noted in bug #6761. Specifically, the knocker on the door plays a sound whenever it is a the top of the bottom of the swing. By only allowing one sound effect to play at the same time, the knocker would only play once, even though it bounces at the bottom.
This commit is contained in:
@@ -486,9 +486,6 @@ ActionMusic::~ActionMusic() {
|
||||
}
|
||||
|
||||
bool ActionMusic::execute() {
|
||||
if (_engine->getScriptManager()->getSideFX(_slotKey))
|
||||
return true;
|
||||
|
||||
if (_midi) {
|
||||
_engine->getScriptManager()->addSideFX(new MusicMidiNode(_engine, _slotKey, _prog, _note, _volume));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user