diff options
author | Torbjörn Andersson | 2004-03-28 14:53:09 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-03-28 14:53:09 +0000 |
commit | 00243652e0917229d8f247d96b3976a433b52ce4 (patch) | |
tree | 1ffad11f0b2a3f37838b59531297c7eca732fa6a /sword2/interpreter.cpp | |
parent | 129152c18b6a31985f92d3c62a6637771d78a1c5 (diff) | |
download | scummvm-rg350-00243652e0917229d8f247d96b3976a433b52ce4.tar.gz scummvm-rg350-00243652e0917229d8f247d96b3976a433b52ce4.tar.bz2 scummvm-rg350-00243652e0917229d8f247d96b3976a433b52ce4.zip |
Fixed paramters to match format string.
svn-id: r13406
Diffstat (limited to 'sword2/interpreter.cpp')
-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; |