aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-06 15:56:27 +0000
committerTravis Howell2004-01-06 15:56:27 +0000
commitcda20b4125725c83670ab6cc68c68b85717954e6 (patch)
treef16226ba16b8a00be20625605889f3347ff2ebff /scumm
parentceda8aec0250ccc9be6ed98eae9679bb0c387cba (diff)
downloadscummvm-rg350-cda20b4125725c83670ab6cc68c68b85717954e6.tar.gz
scummvm-rg350-cda20b4125725c83670ab6cc68c68b85717954e6.tar.bz2
scummvm-rg350-cda20b4125725c83670ab6cc68c68b85717954e6.zip
Restrict to scumm7, caused invalid opcode errors when skipping cutscenes in comi sometimes and comi demo always.
svn-id: r12183
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 5dd1898d3f..9beea1d698 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -1141,7 +1141,8 @@ void ScummEngine::abortCutscene() {
// Proper fix might be to let SMUSH/INSANE run from outside the script
// engine but that would require lots of changes and may actually have
// negative effects, too. So we cheat here, to fix bug #751670.
- getScriptEntryPoint();
+ if (_version == 7)
+ getScriptEntryPoint();
}
}