summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-30 01:08:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-30 01:08:04 +0300
commit27a4c8b4acdf5f433f42b5dce97f95f391e36cbf (patch)
tree82ca8d5619f3e5b20cb572650b05599a479087fd /src/map.cpp
parent4adcf61d150276f412d3049c0d1bf98c35fd3cb3 (diff)
downloadmanaverse-27a4c8b4acdf5f433f42b5dce97f95f391e36cbf.tar.gz
manaverse-27a4c8b4acdf5f433f42b5dce97f95f391e36cbf.tar.bz2
manaverse-27a4c8b4acdf5f433f42b5dce97f95f391e36cbf.tar.xz
manaverse-27a4c8b4acdf5f433f42b5dce97f95f391e36cbf.zip
rename variable in map class.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map.cpp b/src/map.cpp
index a0fbab932..efd108185 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -140,7 +140,7 @@ Map::Map(const int width, const int height,
mForegrounds(),
mLastAScrollX(0.0f),
mLastAScrollY(0.0f),
- particleEffects(),
+ mParticleEffects(),
mMapPortals(),
mTileAnimations(),
mOverlayDetail(config.getIntValue("OverlayDetail")),
@@ -1102,7 +1102,7 @@ void Map::addParticleEffect(const std::string &effectFile,
newEffect.y = y;
newEffect.w = w;
newEffect.h = h;
- particleEffects.push_back(newEffect);
+ mParticleEffects.push_back(newEffect);
}
void Map::initializeParticleEffects(Particle *const engine)
@@ -1113,8 +1113,8 @@ void Map::initializeParticleEffects(Particle *const engine)
if (config.getBoolValue("particleeffects"))
{
for (std::vector<ParticleEffectData>::const_iterator
- i = particleEffects.begin();
- i != particleEffects.end(); ++i)
+ i = mParticleEffects.begin();
+ i != mParticleEffects.end(); ++i)
{
Particle *const p = engine->addEffect(i->file, i->x, i->y);
if (p && i->w > 0 && i->h > 0)