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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user