summaryrefslogtreecommitdiff
path: root/src/particle/particleemitter.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 18:05:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 18:15:50 +0300
commitac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e (patch)
tree0feb142dc738715d3216f0832f94ae4c3716fc30 /src/particle/particleemitter.cpp
parent117c99ff5c8358624df6d176860ac64c86b6fa5f (diff)
downloadmanaverse-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.cpp2
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;