start only used tracks

svn-id: r13739
This commit is contained in:
Paweł Kołodziejski 2004-05-02 12:46:01 +00:00
parent 8bdab25b7a
commit 351eaff329

View File

@ -130,6 +130,8 @@ void IMuseDigital::saveOrLoad(Serializer *ser) {
for (i = 0; i < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; i++) {
ser->saveLoadEntries(_track[i], trackEntries);
if (!ser->isSaving()) {
if (!_track[i]->used)
continue;
if (_track[i]->souStream) {
_track[i]->stream2 = NULL;
_track[i]->stream = NULL;