diff options
author | Paweł Kołodziejski | 2004-05-02 13:58:57 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-05-02 13:58:57 +0000 |
commit | f6b8830158f279c7dbee17a133ae9d1813ee4703 (patch) | |
tree | eb1b6e9f95f6ce086bd28519908950daae0cc5f2 /scumm | |
parent | 7b9f508729311977ab2e594911c74d7cddcfb4be (diff) | |
download | scummvm-rg350-f6b8830158f279c7dbee17a133ae9d1813ee4703.tar.gz scummvm-rg350-f6b8830158f279c7dbee17a133ae9d1813ee4703.tar.bz2 scummvm-rg350-f6b8830158f279c7dbee17a133ae9d1813ee4703.zip |
forgot it
svn-id: r13745
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 3 | ||||
-rw-r--r-- | scumm/imuse_digi/dimuse_track.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index b511acb642..8922ea6727 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -126,6 +126,9 @@ void IMuseDigital::saveOrLoad(Serializer *ser) { int i; ser->_ref_me = this; + ser->_save_ref = NULL; + ser->_load_ref = NULL; + ser->saveLoadEntries(this, mainEntries); for (i = 0; i < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; i++) { ser->saveLoadEntries(_track[i], trackEntries); diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp index 4f165897e2..ffaf29320d 100644 --- a/scumm/imuse_digi/dimuse_track.cpp +++ b/scumm/imuse_digi/dimuse_track.cpp @@ -286,8 +286,11 @@ int IMuseDigital::cloneToFadeOutTrack(int track, int fadeDelay, int killNormalTr _track[track]->mod = _track[fadeTrack]->mod; _track[track]->used = _track[fadeTrack]->used; _track[track]->toBeRemoved = _track[fadeTrack]->toBeRemoved; + _track[track]->souStream = _track[fadeTrack]->souStream; _track[track]->started = _track[fadeTrack]->started; _track[track]->stream2 = _track[fadeTrack]->stream2; + strcpy(_track[track]->soundName, _track[fadeTrack]->soundName); + _track[track]->soundType = _track[fadeTrack]->soundType; _track[track]->soundHandle = NULL; _track[track]->stream = NULL; |