SMSG_PET_NAME_INVALID contains no data
This commit is contained in:
parent
6da4dcf722
commit
96a7a010bc
@ -695,10 +695,6 @@ void WorldSession::HandlePetCastSpellOpcode(WorldPacket& recvPacket)
|
|||||||
|
|
||||||
void WorldSession::SendPetNameInvalid(uint32 error, const std::string& name)
|
void WorldSession::SendPetNameInvalid(uint32 error, const std::string& name)
|
||||||
{
|
{
|
||||||
// [-ZERO] Need check
|
WorldPacket data(SMSG_PET_NAME_INVALID, 0);
|
||||||
WorldPacket data(SMSG_PET_NAME_INVALID, 4 + name.size() + 1 + 1);
|
|
||||||
data << uint32(error);
|
|
||||||
data << name;
|
|
||||||
data << uint8(0); // possible not exist in 1.12.*
|
|
||||||
SendPacket(&data);
|
SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user