From 531433248fbad49e2b8e9d90de9855f3ea9b2257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 19:01:23 +0300 Subject: Another part with FOR_EACH changes. --- src/map.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map.cpp') 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::const_iterator, - i, particleEffects) + for (std::vector::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) -- cgit v1.2.3-70-g09d2