summaryrefslogtreecommitdiff
path: root/src/particle/particleemitter.cpp
diff options
context:
space:
mode:
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;