Core/Spells: Remove pointless check

This commit is contained in:
leak
2012-02-15 17:06:31 +01:00
parent bfc657defe
commit 1b506c18ee
+1 -1
View File
@@ -5665,7 +5665,7 @@ void Spell::EffectStuck(SpellEffIndex /*effIndex*/)
if (target->isInFlight()) if (target->isInFlight())
return; return;
target->TeleportTo(target->GetStartPosition(), m_caster == m_caster ? TELE_TO_SPELL : 0); target->TeleportTo(target->GetStartPosition(), TELE_TO_SPELL);
// homebind location is loaded always // homebind location is loaded always
// target->TeleportTo(target->m_homebindMapId, target->m_homebindX, target->m_homebindY, target->m_homebindZ, target->GetOrientation(), (m_caster == m_caster ? TELE_TO_SPELL : 0)); // target->TeleportTo(target->m_homebindMapId, target->m_homebindX, target->m_homebindY, target->m_homebindZ, target->GetOrientation(), (m_caster == m_caster ? TELE_TO_SPELL : 0));