From f862b7ecb1fc9c410a693eac0accf5081830ab5e Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 16 Dec 2009 18:49:09 +0100 Subject: 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. --- src/particle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/particle.h') 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. -- cgit v1.2.3-70-g09d2