diff options
author | Eugene Sandulenko | 2005-08-08 19:46:33 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-08-08 19:46:33 +0000 |
commit | aebd226028631bed2387f907fe5683d4b2963d83 (patch) | |
tree | bbd22a2a7994796903b5d8f9d9c3e1fe8aa58d96 | |
parent | ccfedf06540fd9b0aa91a7f949dd563ab9b4c2ad (diff) | |
download | scummvm-rg350-aebd226028631bed2387f907fe5683d4b2963d83.tar.gz scummvm-rg350-aebd226028631bed2387f907fe5683d4b2963d83.tar.bz2 scummvm-rg350-aebd226028631bed2387f907fe5683d4b2963d83.zip |
oops. debug output slipped in.
svn-id: r18638
-rw-r--r-- | saga/script.cpp | 1 | ||||
-rw-r--r-- | saga/sthread.cpp | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/saga/script.cpp b/saga/script.cpp index c01126fbe6..31dde01438 100644 --- a/saga/script.cpp +++ b/saga/script.cpp @@ -414,7 +414,6 @@ void Script::doVerb() { } else { if (objectType & (kGameObjectActor | kGameObjectObject)) { scriptEntrypointNumber = _vm->_actor->getObjectScriptEntrypointNumber(_pendingObject[0]); - debug(0, "%d", scriptEntrypointNumber); if ((objectType == kGameObjectActor) && !(_vm->_actor->getObjectFlags(_pendingObject[0]) & (kFollower|kProtagonist|kExtended))) { scriptModuleNumber = _vm->_scene->getScriptModuleNumber(); diff --git a/saga/sthread.cpp b/saga/sthread.cpp index 19d7c02a6e..5816c6c49f 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -266,10 +266,8 @@ bool Script::runThread(ScriptThread *thread, uint instructionLimit) { thread->push((*addr) & iparam1 ? 1 : 0); break; CASEOP(opGetInt) - iparam2 = scriptS.readByte(); - addr = thread->baseAddress(iparam2); + addr = thread->baseAddress(scriptS.readByte()); iparam1 = scriptS.readSint16LE(); - debug(0, "%d %d %d", *((uint16*)addr), iparam2, iparam1); addr += iparam1; thread->push(*((uint16*)addr)); debug(8, "0x%X", *((uint16*)addr)); |