From c485719ad4df285304da83f680a4f310fd22adb4 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 20 Mar 2007 19:00:16 +0000 Subject: [PATCH] oops svn-id: r26255 --- engines/scumm/imuse_digi/dimuse_script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/scumm/imuse_digi/dimuse_script.cpp b/engines/scumm/imuse_digi/dimuse_script.cpp index ad976e3300f..4da854ad19e 100644 --- a/engines/scumm/imuse_digi/dimuse_script.cpp +++ b/engines/scumm/imuse_digi/dimuse_script.cpp @@ -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)) {