Removed unused variable. I believe thread->_instructionOffset serves the same

purpose that 'addr' was inteded to.

svn-id: r50951
This commit is contained in:
Torbjörn Andersson 2010-07-16 23:23:30 +00:00
parent 4172a94edd
commit aa631a64dc

View File

@ -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