Core/Entities: GameObjectDespawn packet is only sent for GameObjects

This commit is contained in:
joschiwald
2016-11-16 22:46:37 +01:00
parent 938595320f
commit 7fbc4374f3
7 changed files with 11 additions and 15 deletions

View File

@@ -654,7 +654,7 @@ public:
if (objectType < 0)
{
if (objectType == -1)
object->SendObjectDeSpawnAnim(object->GetGUID());
object->SendGameObjectDespawn();
else if (objectType == -2)
return false;
return true;