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

Port From (https://github.com/TrinityCore/TrinityCore/commit/9402c66e8423243d13dbc19e8713e298bea0ac7b)
This commit is contained in:
hondacrx
2024-03-14 11:09:45 -04:00
parent 26fe8a45b5
commit 4bbf49a17a
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ namespace Game.Maps
{
corpse.AddToWorld();
var cell = i_grid.GetGridCell(i_cell.GetCellX(), i_cell.GetCellY());
if (corpse.IsWorldObject())
if (corpse.IsStoredInWorldObjectGridContainer())
{
i_map.AddToGrid(corpse, new Cell(cellCoord));
cell.AddWorldObject(corpse);