diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-05 00:20:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-05 00:20:52 +0300 |
commit | c758ce6cde782ff8866b4624c1ba28f1e0db1e35 (patch) | |
tree | 30852e64e403df9e78b5e72c981d4bd426e7b1d8 | |
parent | d38c9ff4fd698b74c99aef2c6c604243c64a108e (diff) | |
download | manaplus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.gz manaplus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.bz2 manaplus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.tar.xz manaplus-c758ce6cde782ff8866b4624c1ba28f1e0db1e35.zip |
Replace list to vector in map.
-rw-r--r-- | src/map.cpp | 2 | ||||
-rw-r--r-- | 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<ParticleEffectData>::iterator + for (std::vector<ParticleEffectData>::iterator i = particleEffects.begin(); i != particleEffects.end(); ++i) { @@ -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; |