diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-16 18:05:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-16 18:15:50 +0300 |
commit | ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e (patch) | |
tree | 0feb142dc738715d3216f0832f94ae4c3716fc30 /src/particle/particleemitter.cpp | |
parent | 117c99ff5c8358624df6d176860ac64c86b6fa5f (diff) | |
download | manaverse-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.gz manaverse-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.bz2 manaverse-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.xz manaverse-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.zip |
Split ParticleEngine from Particle class.
Diffstat (limited to 'src/particle/particleemitter.cpp')
-rw-r--r-- | src/particle/particleemitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp index d82282060..44486e98e 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -508,7 +508,7 @@ void ParticleEmitter::createParticles(const int tick, for (int i = mOutput.value(tick); i > 0; i--) { // Limit maximum particles - if (Particle::particleCount > Particle::maxCount) + if (ParticleEngine::particleCount > ParticleEngine::maxCount) break; Particle *newParticle = nullptr; |