Fixed paramters to match format string.

svn-id: r13406
This commit is contained in:
Torbjörn Andersson 2004-03-28 14:53:09 +00:00
parent 129152c18b
commit 00243652e0

View file

@ -517,7 +517,7 @@ int Logic::runScript(char *scriptData, char *objectData, uint32 *offset) {
*offset = ip;
return 2;
default:
error("Bad return code (%d) from '%s'", opcodes[parameter].desc, retVal & 7);
error("Bad return code (%d) from '%s'", retVal & 7, opcodes[parameter].desc);
}
parameterReturnedFromMcodeFunction = retVal >> 3;
break;