aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2005-10-12 21:11:11 +0000
committerEugene Sandulenko2005-10-12 21:11:11 +0000
commit2a5025d69afd622a2a5292f6c2444bf7214843a7 (patch)
treeeec8855eaacf4536d3051148941213bc46d02f57 /scumm
parent34805489524bb0e6c9ba7568d29ecd05ed40bbd5 (diff)
downloadscummvm-rg350-2a5025d69afd622a2a5292f6c2444bf7214843a7.tar.gz
scummvm-rg350-2a5025d69afd622a2a5292f6c2444bf7214843a7.tar.bz2
scummvm-rg350-2a5025d69afd622a2a5292f6c2444bf7214843a7.zip
Fix bug #1316605 "DIG: some saved games crash scummvm". Actually it's
aquadran's fix. svn-id: r19054
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_digi/dimuse.cpp2
1 files changed, 1 insertions, 1 deletions
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;