Core: Fix warnings
This commit is contained in:
1 parent
47741f4fa6
commit
77013aa081
3 files changed
+3
-3
No files matched your search
@@ -94,7 +94,7 @@ template<> void ObjectGridLoader::SetObjectCell(GameObject* obj, CellCoord const
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void AddObjectHelper(CellCoord &cell, GridRefManager<T> &m, uint32 &count, Map* map, T *obj)
|
||||
void AddObjectHelper(CellCoord &cell, GridRefManager<T> &m, uint32 &count, Map* /*map*/, T *obj)
|
||||
{
|
||||
obj->AddToGrid(m);
|
||||
ObjectGridLoader::SetObjectCell(obj, cell);
|
||||
|
||||
@@ -2548,7 +2548,7 @@ void Map::AddToActive(DynamicObject* d)
|
||||
}
|
||||
|
||||
template<class T>
|
||||
void Map::RemoveFromActive(T* obj)
|
||||
void Map::RemoveFromActive(T* /*obj*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -361,7 +361,7 @@ Transport* TransportMgr::CreateTransport(uint32 entry, uint32 guid /*= 0*/, Map*
|
||||
|
||||
if (MapEntry const* mapEntry = sMapStore.LookupEntry(mapId))
|
||||
{
|
||||
if (uint32(mapEntry->Instanceable()) != tInfo->inInstance)
|
||||
if (mapEntry->Instanceable() != tInfo->inInstance)
|
||||
{
|
||||
TC_LOG_ERROR(LOG_FILTER_TRANSPORTS, "Transport %u (name: %s) attempted creation in instance map (id: %u) but it is not an instanced transport!", entry, trans->GetName().c_str(), mapId);
|
||||
delete trans;
|
||||
|
||||
Reference in new issue
Block a user