From 28e27ea1d94f1df4c8e68216c086cb57c396ccd8 Mon Sep 17 00:00:00 2001 From: RichieSams Date: Thu, 15 Jan 2015 00:31:39 -0600 Subject: 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. --- engines/zvision/scripting/actions.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/zvision') diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index e989478dd1..3aab6d8830 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -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 { -- cgit v1.2.3