diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index ec9c42e65..1d4e0535c 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1095,8 +1095,9 @@ void Map::initializeParticleEffects(Particle *const engine) if (config.getBoolValue("particleeffects")) { - FOR_EACH (std::vector<ParticleEffectData>::const_iterator, - i, particleEffects) + for (std::vector<ParticleEffectData>::const_iterator + i = particleEffects.begin(); + i != particleEffects.end(); ++i) { Particle *const p = engine->addEffect(i->file, i->x, i->y); if (p && i->w > 0 && i->h > 0) |