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:27:51 +0300
commitc3434fa53d1c83bc65b640951364f842fe6c79f4 (patch)
tree51aa552c585518d7b2e2d67eba7c9500065dae05 /src/particle.h
parent185a53c504a0d53e54a7425ea829b5c951661ea8 (diff)
downloadmv-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.gz
mv-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.bz2
mv-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.xz
mv-c3434fa53d1c83bc65b640951364f842fe6c79f4.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