Core/: Set correct sizes of SMSG_ATTACKSTOP packets
--HG-- branch : trunk
This commit is contained in:
@@ -82,7 +82,7 @@ void WorldSession::HandleSetSheathedOpcode(WorldPacket & recv_data)
|
||||
|
||||
void WorldSession::SendAttackStop(Unit const* enemy)
|
||||
{
|
||||
WorldPacket data(SMSG_ATTACKSTOP, (4+20)); // we guess size
|
||||
WorldPacket data(SMSG_ATTACKSTOP, (8+8+4)); // we guess size
|
||||
data.append(GetPlayer()->GetPackGUID());
|
||||
data.append(enemy ? enemy->GetPackGUID() : 0); // must be packed guid
|
||||
data << uint32(0); // unk, can be 1 also
|
||||
|
||||
Reference in New Issue
Block a user