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 /saga/sthread.cpp | |
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
Diffstat (limited to 'saga/sthread.cpp')
-rw-r--r-- | saga/sthread.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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)); |