aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse_digi
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-14 20:17:19 +0000
committerPaweł Kołodziejski2008-01-14 20:17:19 +0000
commitc36b44878a9cf1b487438eea16a65b9efb2a1387 (patch)
treef69552db48c805d1de3e85256c77f0e52868380b /engines/scumm/imuse_digi
parentf2f0d084e74866d429d142736cacf5c6535db66b (diff)
downloadscummvm-rg350-c36b44878a9cf1b487438eea16a65b9efb2a1387.tar.gz
scummvm-rg350-c36b44878a9cf1b487438eea16a65b9efb2a1387.tar.bz2
scummvm-rg350-c36b44878a9cf1b487438eea16a65b9efb2a1387.zip
put 'break' here too, only one music in non fade tracks allowed
svn-id: r30486
Diffstat (limited to 'engines/scumm/imuse_digi')
-rw-r--r--engines/scumm/imuse_digi/dimuse_track.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp
index a360a3b218..984bb3b6f4 100644
--- a/engines/scumm/imuse_digi/dimuse_track.cpp
+++ b/engines/scumm/imuse_digi/dimuse_track.cpp
@@ -311,6 +311,7 @@ void IMuseDigital::setHookIdForMusic(int hookId) {
Track *track = _track[l];
if (track->used && !track->toBeRemoved && (track->volGroupId == IMUSE_VOLGRP_MUSIC)) {
track->curHookId = hookId;
+ break;
}
}
}