diff options
author | Yohann Ferreira <yohann_ferreira_at_orange_fr_> | 2013-02-01 21:38:17 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_ferreira_at_orange_fr_> | 2013-02-01 21:38:17 +0100 |
commit | 05187cd8af0de4d3d50b8ffb9a0801e47cb00d34 (patch) | |
tree | cfac4bd22d13a7f99a8983d18d65018d1a5bb333 /src | |
parent | 02602a6a7bb92fbe19b7a015f5c6764ab658c469 (diff) | |
download | manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.tar.gz manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.tar.bz2 manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.tar.xz manaserv-05187cd8af0de4d3d50b8ffb9a0801e47cb00d34.zip |
Silenced to Wreorder warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/game-server/attribute.h | 2 | ||||
-rw-r--r-- | src/game-server/mapcomposite.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/attribute.h b/src/game-server/attribute.h index 82303ff8..736e54a6 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 485492db..4c7dc66a 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) { } |