aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPesthuf <Paladion@web.de>2011-06-09 16:39:41 +0200
committerPesthuf <Paladion@web.de>2011-06-09 16:39:41 +0200
commitc59dd936815e41d0c1d774e5658ff6d0836ce20a (patch)
tree647ed9637b73273da08863ac1ecdfd3072c35afc
parentcdb296d6d7569c3833e129f41444c01a4a14cb98 (diff)
Fix spells with TARGET_DEST_CASTER_RIGHT and TARGET_DEST_CASTER_LEFT hitting the opposite direction.
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index fe4ca2912b4..0402c9bd8fe 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -2114,8 +2114,8 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
case TARGET_DEST_CASTER_FRONT_LEAP:
case TARGET_DEST_CASTER_FRONT: angle = 0.0f; break;
case TARGET_DEST_CASTER_BACK: angle = static_cast<float>(M_PI); break;
- case TARGET_DEST_CASTER_RIGHT: angle = static_cast<float>(M_PI/2); break;
- case TARGET_DEST_CASTER_LEFT: angle = static_cast<float>(-M_PI/2); break;
+ case TARGET_DEST_CASTER_RIGHT: angle = static_cast<float>(-M_PI/2); break;
+ case TARGET_DEST_CASTER_LEFT: angle = static_cast<float>(M_PI/2); break;
default: angle = (float)rand_norm()*static_cast<float>(2*M_PI); break;
}