diff options
author | Travis Howell | 2005-02-28 13:34:52 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-28 13:34:52 +0000 |
commit | e50aca32a843f4a28a0353b841abc339e24c7fa0 (patch) | |
tree | 0031f28b5d94a258273a0652f0adb75e391810a3 | |
parent | bed897719cfde9107632fd73cac88da29db40a68 (diff) | |
download | scummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.tar.gz scummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.tar.bz2 scummvm-rg350-e50aca32a843f4a28a0353b841abc339e24c7fa0.zip |
Missed a change.
svn-id: r16960
-rw-r--r-- | scumm/script.cpp | 2 |
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(); |