aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authortartalo <none@none>2009-11-07 18:47:11 +0100
committertartalo <none@none>2009-11-07 18:47:11 +0100
commit5b7ef6fd2fd95e944807f07dcf181b9f1e4ea573 (patch)
treefa91e4f72eed68a5b7198dbbf031ceb7d288c444 /src/game/Unit.cpp
parentc922e2a3052b5353d4a64dbe140e3d5bb291c805 (diff)
Set proper orientation after being teleported by spell, by Spp. Closes #100
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 6492abaf3a6..76d93255f34 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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;