[434][Core/PacketIO] SMSG_SPELL_GO with TARGET_FLAG_DEST_LOCATION #7439

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

d7561985 commented Aug 19, 2012

No description provided.

@@ -4010,6 +4010,19 @@ void Spell::SendSpellGo()
if (m_targets.GetTargetMask() & TARGET_FLAG_DEST_LOCATION)
{
data << uint8(0);
+
+ WorldLocation const* loc = m_targets.GetDstPos();
+ if(loc)
@Chaplain

Chaplain Aug 19, 2012

Contributor

Don't hate me, but codestyle should be applied

Member

Shauren commented Aug 19, 2012

This is incorrect, target destination is sent in SpellCastTargets::Write

@Shauren Shauren closed this Aug 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment