Core/Entities: Use new PackedGuid class

This commit is contained in:
Shauren
2014-09-13 01:07:21 +02:00
parent 2fc52b5af6
commit ce67a097bf
28 changed files with 134 additions and 131 deletions

View File

@@ -92,9 +92,9 @@ void WorldSession::HandleSetSheathedOpcode(WorldPacket& recvData)
void WorldSession::SendAttackStop(Unit const* enemy)
{
WorldPacket data(SMSG_ATTACKSTOP, (8+8+4)); // we guess size
data.append(GetPlayer()->GetPackGUID());
data << GetPlayer()->GetPackGUID();
if (enemy)
data.append(enemy->GetPackGUID());
data << enemy->GetPackGUID();
else
data << uint8(0);