diff options
author | Travis Howell | 2004-01-14 10:01:39 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-14 10:01:39 +0000 |
commit | 7bd3a5004988e10ff9e44ba09083a3cd8d82bfe9 (patch) | |
tree | 5eef45c1fe43d0ad3030871f0105142f4264f677 /scumm | |
parent | f6f3ea8da32ff5eaa09a012f815111738d06c033 (diff) | |
download | scummvm-rg350-7bd3a5004988e10ff9e44ba09083a3cd8d82bfe9.tar.gz scummvm-rg350-7bd3a5004988e10ff9e44ba09083a3cd8d82bfe9.tar.bz2 scummvm-rg350-7bd3a5004988e10ff9e44ba09083a3cd8d82bfe9.zip |
Add better method.
svn-id: r12376
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f462cd43b4..f10964610b 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2604,23 +2604,7 @@ void ScummEngine_v6::o6_kernelSetFunctions() { // minutes of inactivity (no mouse movements) before // starting the screensaver, so setting it to 0 will // help in debugging. - { - int i; - for (i = 0; i < 25; i++) { - if (_currentScript != i && vm.slot[i].status != ssDead) { - vm.slot[i].status |= 0x80; - vm.slot[i].freezeCount++; - } - } - - for (i = 0; i < 6; i++) - _sentence[i].freezeCount++; - - if (vm.cutSceneScriptIndex != 0xFF) { - vm.slot[vm.cutSceneScriptIndex].status &= 0x7F; - vm.slot[vm.cutSceneScriptIndex].freezeCount = 0; - } - } + freezeScripts(0x80); break; case 119: enqueueObject(args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8], 0); |