From 2a5025d69afd622a2a5292f6c2444bf7214843a7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 12 Oct 2005 21:11:11 +0000 Subject: Fix bug #1316605 "DIG: some saved games crash scummvm". Actually it's aquadran's fix. svn-id: r19054 --- scumm/imuse_digi/dimuse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index f6f2d71070..cb8fb77606 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -139,7 +139,7 @@ void IMuseDigital::saveOrLoad(Serializer *ser) { if (!track->used) continue; track->readyToRemove = false; - if ((track->toBeRemoved) || (track->souStream)) { + if ((track->toBeRemoved) || (track->souStream) || (track->curRegion == -1)) { track->stream2 = NULL; track->stream = NULL; track->used = false; -- cgit v1.2.3