aboutsummaryrefslogtreecommitdiff
path: root/saga/sthread.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-08-08 19:46:33 +0000
committerEugene Sandulenko2005-08-08 19:46:33 +0000
commitaebd226028631bed2387f907fe5683d4b2963d83 (patch)
treebbd22a2a7994796903b5d8f9d9c3e1fe8aa58d96 /saga/sthread.cpp
parentccfedf06540fd9b0aa91a7f949dd563ab9b4c2ad (diff)
downloadscummvm-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.cpp4
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));