Core/Entities: GameObjectDespawn packet is only sent for GameObjects

This commit is contained in:
Aokromes committed 2017-04-02 07:57:21 +02:00
1 parent 2d54defdf0
commit 9b378447f8
8 files changed
+13 -16

No files matched your search

@@ -1975,13 +1975,6 @@ void WorldObject::SendMessageToSet(WorldPacket* data, Player const* skipped_rcvr
VisitNearbyWorldObject(GetVisibilityRange(), notifier);
}
void WorldObject::SendObjectDeSpawnAnim(ObjectGuid guid)
{
WorldPacket data(SMSG_GAMEOBJECT_DESPAWN_ANIM, 8);
data << uint64(guid);
SendMessageToSet(&data, true);
}
void WorldObject::SetMap(Map* map)
{
ASSERT(map);