aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-02-28 13:34:52 +0000
committerTravis Howell2005-02-28 13:34:52 +0000
commite50aca32a843f4a28a0353b841abc339e24c7fa0 (patch)
tree0031f28b5d94a258273a0652f0adb75e391810a3 /scumm
parentbed897719cfde9107632fd73cac88da29db40a68 (diff)
downloadscummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.tar.gz
scummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.tar.bz2
scummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.zip
Missed a change.
svn-id: r16960
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index b5e106703f..b87b6e926e 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -793,7 +793,7 @@ void ScummEngine::runAllScripts() {
for (int cycle = 1; cycle <= numCycles; cycle++) {
for (_curExecScript = 0; _curExecScript < NUM_SCRIPT_SLOT; _curExecScript++) {
- if (vm.slot[_curExecScript].status == ssRunning && vm.slot[_curExecScript].didexec == 0) {
+ if (vm.slot[_curExecScript].cycle == cycle && vm.slot[_curExecScript].status == ssRunning && vm.slot[_curExecScript].didexec == 0) {
_currentScript = (byte)_curExecScript;
getScriptBaseAddress();
getScriptEntryPoint();