From 93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 7 Oct 2008 21:32:43 +0000 Subject: Fixed some compiler warnings. This probably also fixed the logging of several error messages. --- src/resources/spritedef.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/resources/spritedef.cpp') 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; } -- cgit v1.2.3-70-g09d2