*Fix size of SMSG_SPELLHEALLOG and build (rage!!!)

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-27 21:07:33 +02:00
parent 6c3015a7e6
commit 91233b9ba8
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -10153,7 +10153,7 @@ void Unit::UnsummonAllTotems()
void Unit::SendHealSpellLog(Unit *pVictim, uint32 SpellID, uint32 Damage, uint32 OverHeal, uint32 Absorb, bool critical)
{
// we guess size
WorldPacket data(SMSG_SPELLHEALLOG, (8+8+4+4+4+4+1));
WorldPacket data(SMSG_SPELLHEALLOG, (8+8+4+4+4+4+1+1));
data.append(pVictim->GetPackGUID());
data.append(GetPackGUID());
data << uint32(SpellID);
@@ -10161,6 +10161,7 @@ void Unit::SendHealSpellLog(Unit *pVictim, uint32 SpellID, uint32 Damage, uint32
data << uint32(OverHeal);
data << uint32(Absorb); // Absorb amount
data << uint8(critical ? 1 : 0);
data << uint8(0); // unused
SendMessageToSet(&data, true);
}