diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-10-22 00:13:32 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-10-22 00:13:32 +0200 |
commit | 7ae708acf57899721d77e4d09e1636281582f8e7 (patch) | |
tree | babdc3045728f4de72012bad1a23f1525849749e /src/server/game/Globals/ObjectMgr.cpp | |
parent | 68f45e87345ff85341f835f0372f2a62b89f24d9 (diff) |
Core/ObjectMgr: Switched to full guids in cell corpse container
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 1adcf44df48..b32c0fc97af 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -7445,14 +7445,14 @@ void ObjectMgr::DeleteGOData(uint32 guid) _gameObjectDataStore.erase(guid); } -void ObjectMgr::AddCorpseCellData(uint32 mapid, uint32 cellid, uint32 player_guid, uint32 instance) +void ObjectMgr::AddCorpseCellData(uint32 mapid, uint32 cellid, ObjectGuid player_guid, uint32 instance) { // corpses are always added to spawn mode 0 and they are spawned by their instance id CellObjectGuids& cell_guids = _mapObjectGuidsStore[MAKE_PAIR32(mapid, 0)][cellid]; cell_guids.corpses[player_guid] = instance; } -void ObjectMgr::DeleteCorpseCellData(uint32 mapid, uint32 cellid, uint32 player_guid) +void ObjectMgr::DeleteCorpseCellData(uint32 mapid, uint32 cellid, ObjectGuid player_guid) { // corpses are always added to spawn mode 0 and they are spawned by their instance id CellObjectGuids& cell_guids = _mapObjectGuidsStore[MAKE_PAIR32(mapid, 0)][cellid]; |