From c3434fa53d1c83bc65b640951364f842fe6c79f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Oct 2012 00:27:51 +0300 Subject: Fix some signed/unsigned chars issues. --- src/particle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/particle.h') diff --git a/src/particle.h b/src/particle.h index 821be8baa..4dc419aea 100644 --- a/src/particle.h +++ b/src/particle.h @@ -291,7 +291,7 @@ class Particle : public Actor { } virtual void setDeathEffect(const std::string &effectFile, - const char conditions) + const signed char conditions) { mDeathEffect = effectFile; mDeathEffectConditions = conditions; } protected: @@ -318,8 +318,8 @@ class Particle : public Actor the object props in the map file? */ std::string mDeathEffect; /**< Particle effect file to be spawned when the particle dies */ - char mDeathEffectConditions; /**< Bitfield of death conditions which - trigger spawning of the death + signed char mDeathEffectConditions; /**< Bitfield of death conditions + which trigger spawning of the death particle */ // dynamic particle -- cgit v1.2.3-60-g2f50