summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 21:25:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 21:25:38 +0300
commit4b6141e28035ed237419d64eee69739219989b73 (patch)
treed9ad311da2d022f1966cdc6a9b0f9286cbe5dfb3 /src
parentd0fe17c1b5ac0ee20fba8bdb50db1696291415f0 (diff)
downloadmanaplus-4b6141e28035ed237419d64eee69739219989b73.tar.gz
manaplus-4b6141e28035ed237419d64eee69739219989b73.tar.bz2
manaplus-4b6141e28035ed237419d64eee69739219989b73.tar.xz
manaplus-4b6141e28035ed237419d64eee69739219989b73.zip
move bools in particlecontainer.
Diffstat (limited to 'src')
-rw-r--r--src/particlecontainer.cpp4
-rw-r--r--src/particlecontainer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/particlecontainer.cpp b/src/particlecontainer.cpp
index 26f7b5403..a890f0d9c 100644
--- a/src/particlecontainer.cpp
+++ b/src/particlecontainer.cpp
@@ -30,8 +30,8 @@ typedef std::list<Particle *>::const_iterator ParticleListCIter;
ParticleContainer::ParticleContainer(ParticleContainer *const parent,
const bool delParent):
- mDelParent(delParent),
- mNext(parent)
+ mNext(parent),
+ mDelParent(delParent)
{
}
diff --git a/src/particlecontainer.h b/src/particlecontainer.h
index 40968a657..c78c0dbb9 100644
--- a/src/particlecontainer.h
+++ b/src/particlecontainer.h
@@ -68,8 +68,8 @@ public:
virtual void moveTo(const float x, const float y);
protected:
- bool mDelParent; /**< Delete mNext in destructor */
ParticleContainer *mNext; /**< Contained container, if any */
+ bool mDelParent; /**< Delete mNext in destructor */
};
/**