aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2006-11-08 21:50:15 +0000
committerEugene Sandulenko2006-11-08 21:50:15 +0000
commitcfabc8a203ea77cb2fd53c17e3e4a51ef59e63f1 (patch)
tree1d8d7ffa223932c89029c6736a1cacd024c5cf3c
parent5e5bba4397c7440dd04b559e00328e1732f1b971 (diff)
downloadscummvm-rg350-cfabc8a203ea77cb2fd53c17e3e4a51ef59e63f1.tar.gz
scummvm-rg350-cfabc8a203ea77cb2fd53c17e3e4a51ef59e63f1.tar.bz2
scummvm-rg350-cfabc8a203ea77cb2fd53c17e3e4a51ef59e63f1.zip
Fix crashes with new BG incrustation code.
svn-id: r24660
-rw-r--r--engines/cine/bg_list.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cine/bg_list.cpp b/engines/cine/bg_list.cpp
index 8f46994aa3..9ba38663d9 100644
--- a/engines/cine/bg_list.cpp
+++ b/engines/cine/bg_list.cpp
@@ -117,6 +117,8 @@ void freeBgIncrustList(void) {
free(bgIncrustPtr);
bgIncrustPtr = bgIncrustPtrN;
}
+
+ resetBgIncrustList();
}
void resetBgIncrustList(void) {