From d2d498d08c2848051feb85b12ff6460d5c7c5d84 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 7 Apr 2002 04:29:15 +0000 Subject: Fix Indy4 bootparam, some more Zak256 work, and a few minor things. svn-id: r3887 --- script.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'script.cpp') diff --git a/script.cpp b/script.cpp index e8d03903cb..349faaa920 100644 --- a/script.cpp +++ b/script.cpp @@ -261,8 +261,8 @@ void Scumm::executeScript() { while (_currentScript != 0xFF) { _opcode = fetchScriptByte(); _scriptPointerStart = _scriptPointer; - vm.slot[_currentScript].didexec = 1; - //debug(1, "[%X] %s()", _opcode, _opcodes_lookup[_opcode]); + vm.slot[_currentScript].didexec = 1; + //debug(1, "Script %d: [%X] %s()", vm.slot[_currentScript].number, _opcode, _opcodes_lookup[_opcode]); op = getOpcode(_opcode); (this->*op)(); } @@ -678,7 +678,7 @@ void Scumm::runVerbCode(int object, int entry, int a, int b, int16 *vars) { slot = getScriptSlot(); offs = getVerbEntrypoint(object, entry); - if (offs==0) + if (offs==0) return; vm.slot[slot].number = object; -- cgit v1.2.3