diff options
-rw-r--r-- | sword2/interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |