Core/PacketIO: Fix packet order in 3499b77d5f

This commit is contained in:
Vincent-Michael
2015-04-19 01:17:49 +02:00
parent 3499b77d5f
commit e7464e6d8a
2 changed files with 5 additions and 2 deletions

View File

@@ -8112,8 +8112,11 @@ void Unit::SendHealSpellLog(Unit* victim, uint32 spellID, uint32 health, uint32
{
WorldPackets::CombatLog::SpellHealLog spellHealLog;
spellHealLog.CasterGUID = GetGUID();
TC_LOG_DEBUG("spells", "HealSpellLog -- SpellId: %u Caster: %s -- Target: %s Health: %u OverHeal: %u Absorbed: %u Crit: %u", spellID, GetGUID().ToString(), victim->GetGUID().ToString(),
health, overHeal, absorbed, crit);
spellHealLog.TargetGUID = victim->GetGUID();
spellHealLog.CasterGUID = GetGUID();
spellHealLog.SpellID = spellID;
spellHealLog.Health = health;

View File

@@ -120,8 +120,8 @@ WorldPacket const* WorldPackets::CombatLog::SpellExecuteLog::Write()
WorldPacket const* WorldPackets::CombatLog::SpellHealLog::Write()
{
_worldPacket << CasterGUID;
_worldPacket << TargetGUID;
_worldPacket << CasterGUID;
_worldPacket << SpellID;
_worldPacket << Health;