Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fbe0b8efebca3bc2662b477bdf45627f9783d6c2)
This commit is contained in:
@@ -1116,19 +1116,6 @@ namespace Game
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading phase names...");
|
||||
Global.ObjectMgr.LoadPhaseNames();
|
||||
|
||||
// Preload all cells, if required for the base maps
|
||||
if (WorldConfig.GetBoolValue(WorldCfg.BasemapLoadGrids))
|
||||
{
|
||||
Global.MapMgr.DoForAllMaps(map =>
|
||||
{
|
||||
if (!map.Instanceable())
|
||||
{
|
||||
Log.outInfo(LogFilter.ServerLoading, "Pre-loading base map data for map {0}", map.GetId());
|
||||
map.LoadAllCells();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadConfigSettings(bool reload = false)
|
||||
|
||||
Reference in New Issue
Block a user