164{
167 {
168 for (
Corpse* corpse : *corpses)
169 {
170 corpse->AddToWorld();
172 if (corpse->IsWorldObject())
174 else
176
178 }
179 }
180}
CellCoord GetCellCoord() const
Definition: Cell.h:76
uint32 CellX() const
Definition: Cell.h:69
uint32 CellY() const
Definition: Cell.h:70
void AddWorldObject(SPECIFIC_OBJECT *obj)
Definition: Grid.h:57
void AddGridObject(SPECIFIC_OBJECT *obj)
Definition: Grid.h:101
uint32 GetId() const
Definition: GridDefines.h:147
GridType & GetGridType(const uint32 x, const uint32 y)
Definition: NGrid.h:44
std::unordered_set< Corpse * > const * GetCorpsesInCell(uint32 cellId) const
Definition: Map.h:523
References Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::AddGridObject(), Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::AddWorldObject(), Cell::CellX(), Cell::CellY(), Cell::GetCellCoord(), Map::GetCorpsesInCell(), NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::GetGridType(), CoordPair< LIMIT >::GetId(), i_cell, i_corpses, i_grid, and i_map.