Set proper orientation after being teleported by spell, by Spp. Closes #100
--HG-- branch : trunk
This commit is contained in:
1 parent
c922e2a305
commit
5b7ef6fd2f
4 files changed
+16
-15
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user