Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name

This commit is contained in:
Shauren
2024-03-14 11:01:58 +01:00
parent b705283d0e
commit 9402c66e84
6 changed files with 22 additions and 22 deletions

View File

@@ -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);