aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-04-05 16:51:29 +0000
committerJames Brown2002-04-05 16:51:29 +0000
commitd31eba858b5c5f7c9a8634763e48bcaccc6bf1fe (patch)
treed69817739a86a3b1d7dc91bf5d3f2921d591a11e
parent2e0443e7415e44ae1e68a0f80cd86daae35a06b9 (diff)
downloadscummvm-rg350-d31eba858b5c5f7c9a8634763e48bcaccc6bf1fe.tar.gz
scummvm-rg350-d31eba858b5c5f7c9a8634763e48bcaccc6bf1fe.tar.bz2
scummvm-rg350-d31eba858b5c5f7c9a8634763e48bcaccc6bf1fe.zip
Cutscene fix take 2
svn-id: r3877
-rw-r--r--script.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/script.cpp b/script.cpp
index d94d985bab..f5c56cc7f6 100644
--- a/script.cpp
+++ b/script.cpp
@@ -752,7 +752,9 @@ void Scumm::endCutscene() {
int16 args[16];
memset(args, 0, sizeof(args));
-
+ if (ss->cutsceneOverride < 1)
+ return;
+
ss->cutsceneOverride--;
printf("Ending cs(%d) from %d\n", ss->cutsceneOverride, _currentScript);
args[0] = vm.cutSceneData[vm.cutSceneStackPointer];