mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-17 13:29:41 -04:00
Set proper orientation after being teleported by spell, by Spp. Closes #100
--HG-- branch : trunk
This commit is contained in:
+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