diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-06 11:18:47 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-06 11:18:47 +0100 |
commit | 80f8af40b33b71f04ec71ff12cfbb2a21de61703 (patch) | |
tree | 7e17bd6abcbc420d89e4ee432650efa62f73c487 /src/game-server/mapcomposite.h | |
parent | 54d5f7e577db0639e42b18beae4b5c87af6d6843 (diff) | |
download | manaserv-80f8af40b33b71f04ec71ff12cfbb2a21de61703.tar.gz manaserv-80f8af40b33b71f04ec71ff12cfbb2a21de61703.tar.bz2 manaserv-80f8af40b33b71f04ec71ff12cfbb2a21de61703.tar.xz manaserv-80f8af40b33b71f04ec71ff12cfbb2a21de61703.zip |
Small fixes coming from my comment on issue #77.
Trivial.
Diffstat (limited to 'src/game-server/mapcomposite.h')
-rw-r--r-- | src/game-server/mapcomposite.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game-server/mapcomposite.h b/src/game-server/mapcomposite.h index 351a0572..a695de0d 100644 --- a/src/game-server/mapcomposite.h +++ b/src/game-server/mapcomposite.h @@ -348,8 +348,9 @@ class MapComposite * Changes a script variable without notifying the database server * about the change */ - void setVariableFromDbserver (const std::string &key, const std::string &value) - { mScriptVariables[key] = value ;} + void setVariableFromDbserver (const std::string &key, + const std::string &value) + { mScriptVariables[key] = value; } private: MapComposite(const MapComposite &); @@ -359,7 +360,8 @@ class MapComposite Script *mScript; /**< Script associated to this map. */ std::string mName; /**< Name of the map. */ unsigned short mID; /**< ID of the map. */ - std::map< std::string, std::string > mScriptVariables; /** Cached persistent variables */ + /** Cached persistent variables */ + std::map< std::string, std::string > mScriptVariables; PvPRules mPvPRules; }; |