fix(Core): Further adjust packet structure for attack stop opcode. (#19438)
* Init. * Fixy fix.
This commit is contained in:
parent
2d1e4393ba
commit
94d3caaf1b
2 changed files with 2 additions and 4 deletions
|
|
@ -3054,9 +3054,8 @@ void Unit::SendMeleeAttackStop(Unit* victim)
|
|||
|
||||
if (victim)
|
||||
{
|
||||
uint8 nowDead = victim->isDead();
|
||||
data << victim->GetPackGUID();
|
||||
data << nowDead;
|
||||
data << (uint32)victim->isDead();
|
||||
}
|
||||
SendMessageToSet(&data, true);
|
||||
LOG_DEBUG("entities.unit", "WORLD: Sent SMSG_ATTACKSTOP");
|
||||
|
|
|
|||
|
|
@ -89,9 +89,8 @@ void WorldSession::SendAttackStop(Unit const* enemy)
|
|||
|
||||
if (enemy)
|
||||
{
|
||||
uint8 nowDead = enemy->isDead();
|
||||
data << enemy->GetPackGUID(); // must be packed guid
|
||||
data << nowDead;
|
||||
data << (uint32)enemy->isDead();
|
||||
}
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue