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:
RichieSams
2015-01-15 00:31:39 -06:00
parent cc045f7a83
commit 28e27ea1d9
-3
View File
@@ -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 {