summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-03 17:42:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-03 17:42:54 +0000
commit778ca33725a8bfac629b405f0bd26cfefaf47caf (patch)
tree0b20376964c8b60f30c2827b1790cb038740a00b /src/particle.cpp
parent6276c1ff96e449e73e84977110334cd8957c31b6 (diff)
downloadmana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.gz
mana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.bz2
mana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.xz
mana-778ca33725a8bfac629b405f0bd26cfefaf47caf.zip
Have ParticleEmitter load a possible particle image early on and don't cause a
crash when the image can't be found.
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index f88b9c21..509c20ee 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -48,7 +48,7 @@ int Particle::fastPhysics = 0;
int Particle::emitterSkip = 1;
const float Particle::PARTICLE_SKY = 800.0f;
-Particle::Particle(Map *map) :
+Particle::Particle(Map *map):
mAlive(true),
mPosX(0.0f), mPosY(0.0f), mPosZ(0.0f),
mLifetimeLeft(-1),