Set proper orientation after being teleported by spell, by Spp. Closes #100

--HG--
branch : trunk
This commit is contained in:
tartalo
2009-11-07 18:47:11 +01:00
parent c922e2a305
commit 5b7ef6fd2f
4 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -1070,7 +1070,7 @@ void Unit::CastSpell(float x, float y, float z, uint32 spellId, bool triggered,
Spell *spell = new Spell(this, spellInfo, triggered, originalCaster );
SpellCastTargets targets;
targets.setDst(x, y, z);
targets.setDst(x, y, z, GetOrientation());
if(OriginalVictim)
targets.setUnitTarget(OriginalVictim);
spell->m_CastItem = castItem;