*Blink glyph fix. By Cleave

--HG--
branch : trunk
This commit is contained in:
megamage
2009-09-01 15:07:03 -05:00
parent d879267f9b
commit 2a9aff9080
+3
View File
@@ -6211,6 +6211,9 @@ void Spell::EffectLeapForward(uint32 i)
uint32 mapid = m_caster->GetMapId(); uint32 mapid = m_caster->GetMapId();
float dist = m_caster->GetSpellRadiusForTarget(unitTarget, sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i])); float dist = m_caster->GetSpellRadiusForTarget(unitTarget, sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i]));
if(Player* modOwner = m_originalCaster->GetSpellModOwner())
modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_RADIUS, dist);
float x,y,z; float x,y,z;
float destx,desty,destz,ground,floor; float destx,desty,destz,ground,floor;
float orientation = unitTarget->GetOrientation(), step = dist/10.0f; float orientation = unitTarget->GetOrientation(), step = dist/10.0f;