summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 00:27:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 00:32:49 +0300
commit2ed0917b4ee942ff55639500f846ae9cb4f48b90 (patch)
tree431158e61d703a747115088e1b084651c923e0dd /src/particle.h
parent875ece90ff94c4cf295b53c8bb37d9238ece38e9 (diff)
downloadplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.gz
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.bz2
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.xz
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.zip
Fix some signed/unsigned chars issues.
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h6
1 files changed, 3 insertions, 3 deletions
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