summaryrefslogtreecommitdiff
path: root/src/game-server/mapcomposite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/mapcomposite.h')
-rw-r--r--src/game-server/mapcomposite.h8
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;
};