diff options
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 27f01d4e1..54c3623c4 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -574,7 +574,7 @@ std::list<Particle *> ParticleEmitter::createParticles(const int tick) Particle *newParticle = nullptr; if (mParticleImage) { - const std::string name = mParticleImage->getIdPath(); + const std::string &name = mParticleImage->getIdPath(); if (ImageParticle::imageParticleCountByName.find(name) == ImageParticle::imageParticleCountByName.end()) { |