diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-07 21:32:43 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-07 21:32:43 +0000 |
commit | 93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5 (patch) | |
tree | c9f54aecab83c1abbab3776d4ac6cd6215f509eb /src/resources/spritedef.cpp | |
parent | 001c91ff66818a0f1a6839df2ba2a1c4d3220160 (diff) | |
download | mana-client-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.gz mana-client-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.bz2 mana-client-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.xz mana-client-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.zip |
Fixed some compiler warnings. This probably also fixed the logging of several
error messages.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r-- | src/resources/spritedef.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index ebc60240..a6d8891e 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -232,7 +232,7 @@ SpriteDef::loadAnimation(xmlNodePtr animationNode, if (!img) { - logger->log("No image at index " + (index + variant_offset)); + logger->log("No image at index %d", index + variant_offset); continue; } @@ -255,8 +255,7 @@ SpriteDef::loadAnimation(xmlNodePtr animationNode, if (!img) { - logger->log("No image at index " + - (start + variant_offset)); + logger->log("No image at index %d", start + variant_offset); continue; } |