*Fix some bugs of map/grid. Hope this can fix some crashes (without introducing new crash)

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-17 21:50:18 -06:00
1 parent d11c80ec54
commit be53cfe104
8 files changed
+31 -202

No files matched your search

+2 -2
View File
@@ -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()
{