summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-05 00:20:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-05 00:20:52 +0300
commitc758ce6cde782ff8866b4624c1ba28f1e0db1e35 (patch)
tree30852e64e403df9e78b5e72c981d4bd426e7b1d8
parentd38c9ff4fd698b74c99aef2c6c604243c64a108e (diff)
downloadplus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.gz
plus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.bz2
plus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.xz
plus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.zip
Replace list to vector in map.
-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;