diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 1 | ||||
-rw-r--r-- | scumm/imuse_digi/dimuse_track.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 70b7123c28..94761489a7 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -294,7 +294,6 @@ void IMuseDigital::callback() { _vm->_mixer->setChannelBalance(_track[l]->handle, pan); _track[l]->stream->append(data, result); _track[l]->regionOffset += result; - _track[l]->trackOffset += result; free(data); } diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp index ffaf29320d..3c1359db8d 100644 --- a/scumm/imuse_digi/dimuse_track.cpp +++ b/scumm/imuse_digi/dimuse_track.cpp @@ -101,7 +101,6 @@ void IMuseDigital::startSound(int soundId, const char *soundName, int soundType, _track[l]->curRegion = -1; _track[l]->dataOffset = 0; _track[l]->regionOffset = 0; - _track[l]->trackOffset = 0; _track[l]->mod = 0; _track[l]->mixerFlags = 0; _track[l]->mixerPan = 0; @@ -276,7 +275,6 @@ int IMuseDigital::cloneToFadeOutTrack(int track, int fadeDelay, int killNormalTr _track[track]->soundId = _track[fadeTrack]->soundId; _track[track]->dataOffset = _track[fadeTrack]->dataOffset; _track[track]->regionOffset = _track[fadeTrack]->regionOffset; - _track[track]->trackOffset = _track[fadeTrack]->trackOffset; _track[track]->curRegion = _track[fadeTrack]->curRegion; _track[track]->curHookId = _track[fadeTrack]->curHookId; _track[track]->iteration = _track[fadeTrack]->iteration; |