Build fix

This commit is contained in:
Shauren committed 2013-10-17 00:55:50 +02:00
1 parent 59fd2520fc
commit 565dd4299c
3 files changed
+23 -9

No files matched your search

@@ -95,6 +95,15 @@ template<> void ObjectGridLoader::SetObjectCell(GameObject* obj, CellCoord const
template <class T>
void AddObjectHelper(CellCoord &cell, GridRefManager<T> &m, uint32 &count, Map* map, T *obj)
{
obj->AddToGrid(m);
ObjectGridLoader::SetObjectCell(obj, cell);
obj->AddToWorld();
++count;
}
template <>
void AddObjectHelper(CellCoord &cell, CreatureMapType &m, uint32 &count, Map* map, Creature *obj)
{
obj->AddToGrid(m);
ObjectGridLoader::SetObjectCell(obj, cell);