diff --git a/src/server/scripts/Commands/cs_gobject.cpp b/src/server/scripts/Commands/cs_gobject.cpp index e904a1370..57e6eb308 100644 --- a/src/server/scripts/Commands/cs_gobject.cpp +++ b/src/server/scripts/Commands/cs_gobject.cpp @@ -580,10 +580,7 @@ public: object->SetByteValue(GAMEOBJECT_BYTES_1, objectType, *objectState); else if (objectType == 4) { - WorldPacket data(SMSG_GAMEOBJECT_CUSTOM_ANIM, 8+4); - data << object->GetGUID(); - data << static_cast(*objectState); - object->SendMessageToSet(&data, true); + object->SendCustomAnim(*objectState); } handler->PSendSysMessage("Set gobject type %d state %u", objectType, *objectState); return true;