From 56b766f001c6c06fa0dc5a0daf6e102446ffeb96 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 7 Jul 2005 09:52:04 +0000 Subject: Add patch: 1233352 - Fix hanging descheduled entry/exit scripts svn-id: r18510 --- scumm/script.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/script.cpp b/scumm/script.cpp index ad2e2f0366..96b7952d58 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -820,8 +820,8 @@ void ScummEngine::runExitScript() { vm.slot[slot].freezeResistant = false; vm.slot[slot].recursive = false; vm.slot[slot].freezeCount = 0; - vm.slot[slot].delayFrameCount = 0; + vm.slot[slot].cycle = 1; // FIXME: the exit script of room 7 in indy3 only seems to have a size // and tag not actual data not even a 00 (stop code). Maybe we should @@ -855,6 +855,7 @@ void ScummEngine::runEntryScript() { vm.slot[slot].recursive = false; vm.slot[slot].freezeCount = 0; vm.slot[slot].delayFrameCount = 0; + vm.slot[slot].cycle = 1; initializeLocals(slot, 0); runScriptNested(slot); } -- cgit v1.2.3