summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map.cpp2
-rw-r--r--src/map.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 3cdccbc2e..eafdc88ec 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1212,7 +1212,7 @@ void Map::initializeParticleEffects(Particle *particleEngine)
if (config.getBoolValue("particleeffects"))
{
- for (std::list<ParticleEffectData>::iterator
+ for (std::vector<ParticleEffectData>::iterator
i = particleEffects.begin();
i != particleEffects.end(); ++i)
{
diff --git a/src/map.h b/src/map.h
index 8fd2c33c9..79c9e8b2b 100644
--- a/src/map.h
+++ b/src/map.h
@@ -506,7 +506,7 @@ class Map : public Properties, public ConfigListener
int w;
int h;
};
- std::list<ParticleEffectData> particleEffects;
+ std::vector<ParticleEffectData> particleEffects;
std::list<MapItem*> mMapPortals;