mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
*Merge.
--HG-- branch : trunk
This commit is contained in:
@@ -291,12 +291,12 @@ bool MapManager::IsValidMAP(uint32 mapid)
|
||||
// TODO: add check for battleground template
|
||||
}
|
||||
|
||||
void MapManager::LoadGrid(int mapid, float x, float y, const WorldObject* obj, bool no_unload)
|
||||
/*void MapManager::LoadGrid(int mapid, float x, float y, const WorldObject* obj, bool no_unload)
|
||||
{
|
||||
CellPair p = Trinity::ComputeCellPair(x,y);
|
||||
Cell cell(p);
|
||||
GetMap(mapid, obj)->LoadGrid(cell,no_unload);
|
||||
}
|
||||
}*/
|
||||
|
||||
void MapManager::UnloadAll()
|
||||
{
|
||||
@@ -350,3 +350,4 @@ uint32 MapManager::GetNumPlayersInInstances()
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user