mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
This commit is contained in:
@@ -158,7 +158,7 @@ void ObjectWorldLoader::Visit(CorpseMapType& /*m*/)
|
||||
{
|
||||
corpse->AddToWorld();
|
||||
GridType& cell = i_grid.GetGridType(i_cell.CellX(), i_cell.CellY());
|
||||
if (corpse->IsWorldObject())
|
||||
if (corpse->IsStoredInWorldObjectGridContainer())
|
||||
cell.AddWorldObject(corpse);
|
||||
else
|
||||
cell.AddGridObject(corpse);
|
||||
|
||||
Reference in New Issue
Block a user