summaryrefslogtreecommitdiffstats
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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game-server/mapcomposite.h b/src/game-server/mapcomposite.h
index 079e5e4..d61f8ce 100644
--- a/src/game-server/mapcomposite.h
+++ b/src/game-server/mapcomposite.h
@@ -234,6 +234,8 @@ class MapComposite
MapComposite(int id, const std::string &name);
~MapComposite();
+ bool readMap();
+
/**
* Loads the map and initializes the map content. Should only be called
* once!
@@ -253,7 +255,7 @@ class MapComposite
* Returns whether the map is active on this server or not.
*/
bool isActive() const
- { return mMap; }
+ { return mActive; }
/**
* Gets the game ID of this map.
@@ -366,6 +368,7 @@ class MapComposite
void callMapVariableCallback(const std::string &key,
const std::string &value);
+ bool mActive; /**< Status of map. */
Map *mMap; /**< Actual map. */
MapContent *mContent; /**< Entities on the map. */
std::string mName; /**< Name of the map. */