summaryrefslogtreecommitdiff
path: root/src/particleemitter.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-07 21:32:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-07 21:32:43 +0000
commit93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5 (patch)
treec9f54aecab83c1abbab3776d4ac6cd6215f509eb /src/particleemitter.cpp
parent001c91ff66818a0f1a6839df2ba2a1c4d3220160 (diff)
downloadmana-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.gz
mana-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.bz2
mana-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.tar.xz
mana-93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5.zip
Fixed some compiler warnings. This probably also fixed the logging of several
error messages.
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r--src/particleemitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp
index 3e0a3d75..816a5d28 100644
--- a/src/particleemitter.cpp
+++ b/src/particleemitter.cpp
@@ -213,7 +213,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target, Map *
if (!img)
{
- logger->log("No image at index " + (index));
+ logger->log("No image at index %d", index);
continue;
}
@@ -236,8 +236,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target, Map *
if (!img)
{
- logger->log("No image at index " +
- (start));
+ logger->log("No image at index %d", start);
continue;
}