diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-05-16 22:16:21 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-05-16 22:16:21 +0200 |
| commit | a12a34b1dce93b17dcb2978937ac00288949ae13 (patch) | |
| tree | 81dc0776fe697795169497ec213f3790459b6095 /src/server/scripts/Spells | |
| parent | b421a5c0cbaf8acd8f1152c96ad7872cb8d7c9e3 (diff) | |
Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_warrior.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index 9cbf8e86187..af7e805c2a5 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -175,7 +175,7 @@ class spell_warr_charge_drop_fire_periodic : public SpellScriptLoader { int32 timeOffset = 6 * i * aurEff->GetPeriod() / 25; Movement::Location loc = GetTarget()->movespline->ComputePosition(timeOffset); - GetTarget()->SendPlaySpellVisual(loc, 0.f, SPELL_VISUAL_BLAZING_CHARGE, 0, 0, 1.f, true); + GetTarget()->SendPlaySpellVisual(Position(loc.x, loc.y, loc.z, loc.orientation), 0.f, SPELL_VISUAL_BLAZING_CHARGE, 0, 0, 1.f, true); } } } |
