aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-07-16 23:23:30 +0000
committerTorbjörn Andersson2010-07-16 23:23:30 +0000
commitaa631a64dce17e89cc657b4588af0ba032b9664d (patch)
tree59ac273565e18b28855f9cc423ed6fefc0f6016e
parent4172a94edd9eaba0d6dc27d09c8858704d7010a0 (diff)
downloadscummvm-rg350-aa631a64dce17e89cc657b4588af0ba032b9664d.tar.gz
scummvm-rg350-aa631a64dce17e89cc657b4588af0ba032b9664d.tar.bz2
scummvm-rg350-aa631a64dce17e89cc657b4588af0ba032b9664d.zip
Removed unused variable. I believe thread->_instructionOffset serves the same
purpose that 'addr' was inteded to. svn-id: r50951
-rw-r--r--engines/saga/script.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index 18bbca2425..5fd120ac33 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -571,9 +571,7 @@ void Script::opCall(SCRIPTOP_PARAMS) {
if (iparam1 != kAddressModule) {
error("Script::runThread iparam1 != kAddressModule");
}
- byte *addr = thread->baseAddress(iparam1);
iparam1 = scriptS->readSint16LE();
- addr += iparam1;
thread->push(argumentsCount);
// NOTE: The original pushes the program