mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "ScriptReloadMgr.h"
|
||||
#include "SecretMgr.h"
|
||||
#include "TCSoap.h"
|
||||
#include "TerrainMgr.h"
|
||||
#include "World.h"
|
||||
#include "WorldSocket.h"
|
||||
#include "WorldSocketMgr.h"
|
||||
@@ -317,6 +318,7 @@ extern int main(int argc, char** argv)
|
||||
sInstanceSaveMgr->Unload();
|
||||
sOutdoorPvPMgr->Die(); // unload it before MapManager
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
sTerrainMgr.UnloadAll();
|
||||
});
|
||||
|
||||
// Start the Remote Access port (acceptor) if enabled
|
||||
|
||||
Reference in New Issue
Block a user