From 00243652e0917229d8f247d96b3976a433b52ce4 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 28 Mar 2004 14:53:09 +0000 Subject: Fixed paramters to match format string. svn-id: r13406 --- sword2/interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp index c84360ffdd..b12692e03c 100644 --- a/sword2/interpreter.cpp +++ b/sword2/interpreter.cpp @@ -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; -- cgit v1.2.3