diff options
author | Max Horn | 2008-01-18 16:38:11 +0000 |
---|---|---|
committer | Max Horn | 2008-01-18 16:38:11 +0000 |
commit | c2d1554c7d0e61e3c5dec74bbad64d91906228cf (patch) | |
tree | 2cadad4e42bec645f62750cd721b4697ffa34a23 /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | e6c20003c04fdfba9b72a2d577fb95c02fac786e (diff) | |
download | scummvm-rg350-c2d1554c7d0e61e3c5dec74bbad64d91906228cf.tar.gz scummvm-rg350-c2d1554c7d0e61e3c5dec74bbad64d91906228cf.tar.bz2 scummvm-rg350-c2d1554c7d0e61e3c5dec74bbad64d91906228cf.zip |
Don't hardcode value for which we have wonderful and nice constants defined ;)
svn-id: r30549
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index 4ba0153a93..179779a0dc 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -341,7 +341,7 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel return NULL; } - assert(track->trackId < 8); + assert(track->trackId < MAX_DIGITAL_TRACKS); fadeTrack = _track[track->trackId + MAX_DIGITAL_TRACKS]; if (fadeTrack->used) { |