summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_ferreira_at_orange_fr_>2013-02-01 21:38:17 +0100
committerYohann Ferreira <yohann_ferreira_at_orange_fr_>2013-02-01 21:38:17 +0100
commit05187cd8af0de4d3d50b8ffb9a0801e47cb00d34 (patch)
treecfac4bd22d13a7f99a8983d18d65018d1a5bb333
parent02602a6a7bb92fbe19b7a015f5c6764ab658c469 (diff)
downloadmanaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.tar.gz
manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.tar.xz
manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.zip
Silenced to Wreorder warnings.
-rw-r--r--src/game-server/attribute.h2
-rw-r--r--src/game-server/mapcomposite.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/attribute.h b/src/game-server/attribute.h
index 82303ff..736e54a 100644
--- a/src/game-server/attribute.h
+++ b/src/game-server/attribute.h
@@ -134,8 +134,8 @@ class Attribute
public:
Attribute()
: mBase(0)
- , mMaxValue(0)
, mMinValue(0)
+ , mMaxValue(0)
{throw;} // DEBUG; Find improper constructions
Attribute(const AttributeManager::AttributeInfo &info);
diff --git a/src/game-server/mapcomposite.cpp b/src/game-server/mapcomposite.cpp
index 485492d..4c7dc66 100644
--- a/src/game-server/mapcomposite.cpp
+++ b/src/game-server/mapcomposite.cpp
@@ -464,10 +464,10 @@ Script::Ref MapComposite::mUpdateCallback;
MapComposite::MapComposite(int id, const std::string &name):
mActive(false),
mMap(0),
- mPvPRules(PVP_NONE),
mContent(0),
mName(name),
- mID(id)
+ mID(id),
+ mPvPRules(PVP_NONE)
{
}