*Fix some bugs of map/grid. Hope this can fix some crashes (without introducing new crash)
--HG-- branch : trunk
This commit is contained in:
1 parent
d11c80ec54
commit
be53cfe104
8 files changed
+31
-202
No files matched your search
@@ -289,12 +289,12 @@ bool MapManager::IsValidMAP(uint32 mapid)
|
||||
return mEntry && (!mEntry->Instanceable() || objmgr.GetInstanceTemplate(mapid));
|
||||
}
|
||||
|
||||
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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user