Core/: Set correct sizes of SMSG_ATTACKSTOP packets

--HG--
branch : trunk
This commit is contained in:
click committed 2010-09-16 18:05:50 +02:00
1 parent d139815962
commit 4d88ce57d2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2550,7 +2550,7 @@ void Unit::SendMeleeAttackStop(Unit* victim)
if (!victim)
return;
WorldPacket data(SMSG_ATTACKSTOP, (4+16)); // we guess size
WorldPacket data(SMSG_ATTACKSTOP, (8+8+4)); // we guess size
data.append(GetPackGUID());
data.append(victim->GetPackGUID()); // can be 0x00...
data << uint32(0); // can be 0x1