diff options
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 02ca1f71b..9390101e7 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -349,6 +349,17 @@ ServerEnvironment::~ServerEnvironment() } } +Map & ServerEnvironment::getMap() +{ + return *m_map; +} + +ServerMap & ServerEnvironment::getServerMap() +{ + return *m_map; +} + + void ServerEnvironment::serializePlayers(const std::string &savedir) { std::string players_path = savedir + "/players"; |