diff options
| author | Alexander <spambot42@yandex.ru> | 2011-06-09 10:18:04 -0700 |
|---|---|---|
| committer | Alexander <spambot42@yandex.ru> | 2011-06-09 10:18:04 -0700 |
| commit | 5bc4e6e96572f69840358413fc00730b88af364d (patch) | |
| tree | 2ce8058431829e4b3bdb532445a4c6038e79b0ee /src | |
| parent | c0bc82937633d2add11980131a3fc60dcad5c727 (diff) | |
| parent | c59dd936815e41d0c1d774e5658ff6d0836ce20a (diff) | |
Merge pull request #1918 from Pesthuf/Patches
Core/Spells: Fix spelltargets with TARGET_DEST_CASTER_RIGHT and TARGET_DEST_CASTER_LEFT
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Spells/Spell.cpp | 4 |
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; } |
