SHERLOCK: Implement sound priority

This commit is contained in:
Strangerke 2015-05-12 21:34:45 +02:00 committed by Willem Jan Palenstijn
parent 3a74cb7b57
commit 72c9b9f56b
7 changed files with 26 additions and 41 deletions

View file

@ -111,7 +111,7 @@ bool Animation::play(const Common::String &filename, int minDelay, int fade,
Common::String::format("%s%02d", filename.c_str(), soundNumber);
if (sound._voices)
sound.playSound(fname);
sound.playSound(fname, WAIT_RETURN_IMMEDIATELY);
}
events.wait(speed);