mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Entities: Use new PackedGuid class
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user