summaryrefslogtreecommitdiffstats
path: root/src/game-server/mapmanager.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2007-06-26 19:50:02 +0000
committerDavid Athay <ko2fan@gmail.com>2007-06-26 19:50:02 +0000
commit301ffe1048fb23548f72759b6ed0ca98e9109ff4 (patch)
treec765b6df9a83227b1d40bb59949b768fbc4c1574 /src/game-server/mapmanager.cpp
parent99263173738dfd6ca4ba822e0a112f1c7c17661c (diff)
Merged guilds-and-parties branch to trunk
Diffstat (limited to 'src/game-server/mapmanager.cpp')
-rw-r--r--src/game-server/mapmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/mapmanager.cpp b/src/game-server/mapmanager.cpp
index dcb9136..dac57ca 100644
--- a/src/game-server/mapmanager.cpp
+++ b/src/game-server/mapmanager.cpp
@@ -130,3 +130,8 @@ bool MapManager::isActive(int mapId) const
assert(i != maps.end());
return i->second.isActive;
}
+
+short MapManager::numberOfMaps() const
+{
+ return maps.size();
+}