aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-02-16 03:53:03 +0000
committerTravis Howell2004-02-16 03:53:03 +0000
commit42dd31d9f37ccd8822b9930ec7d460349bc04109 (patch)
treea13fa4246716d9ecd69293b9a26e268e05e14e32 /scumm/script.cpp
parentaf305a31c3f678c554862f271bc5455021964761 (diff)
downloadscummvm-rg350-42dd31d9f37ccd8822b9930ec7d460349bc04109.tar.gz
scummvm-rg350-42dd31d9f37ccd8822b9930ec7d460349bc04109.tar.bz2
scummvm-rg350-42dd31d9f37ccd8822b9930ec7d460349bc04109.zip
Add comment and case
svn-id: r12912
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r--scumm/script.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 2e929f368f..0c18a87831 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -840,8 +840,11 @@ void ScummEngine::killScriptsAndResources() {
void ScummEngine::killAllScriptsExceptCurrent() {
for (int i = 0; i < NUM_SCRIPT_SLOT; i++) {
- if (i != _currentScript)
+ if (i != _currentScript) {
vm.slot[i].status = ssDead;
+ if (_version == 6)
+ vm.slot[i].cutsceneOverride = 0;
+ }
}
}