svn-id: r26255
This commit is contained in:
Max Horn 2007-03-20 19:00:16 +00:00
parent f5559de703
commit c485719ad4

View File

@ -189,10 +189,10 @@ void IMuseDigital::flushTracks() {
}
void IMuseDigital::refreshScripts() {
bool found = false;
debug(5, "refreshScripts()");
{
Common::StackLock lock(_mutex, "IMuseDigital::refreshScripts()");
debug(5, "refreshScripts()");
bool found = false;
for (int l = 0; l < MAX_DIGITAL_TRACKS; l++) {
Track *track = _track[l];
if (track->used && !track->toBeRemoved && (track->volGroupId == IMUSE_VOLGRP_MUSIC)) {