From c758ce6cde782ff8866b4624c1ba28f1e0db1e35 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Apr 2011 00:20:52 +0300 Subject: Replace list to vector in map. --- src/map.cpp | 2 +- src/map.h | 2 +- 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::iterator + for (std::vector::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 particleEffects; + std::vector particleEffects; std::list mMapPortals; -- cgit v1.2.3-70-g09d2