diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-12-16 18:49:09 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-12-16 20:09:13 +0100 |
commit | f862b7ecb1fc9c410a693eac0accf5081830ab5e (patch) | |
tree | 660f1c07d9260349edf83738825408a598097b4d /src/particle.h | |
parent | 6b7833deee20e3abb5856d64d7f359d754fea4ca (diff) | |
download | mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.gz mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.bz2 mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.xz mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.zip |
Stored the cached config value which says if non-crucial particle effects are enabled or not in a static member of class Particle instead of an instanced member of Being.
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h index c3e7692c..1b2d24ae 100644 --- a/src/particle.h +++ b/src/particle.h @@ -49,6 +49,7 @@ class Particle : public Sprite static int particleCount; /**< Current number of particles */ static int maxCount; /**< Maximum number of particles */ static int emitterSkip; /**< Duration of pause between two emitter updates in ticks */ + static bool enabled; /**< true when non-crucial particle effects are disabled */ /** * Constructor. |