aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-12-29 02:06:53 -0300
committerariel- <ariel-@users.noreply.github.com>2016-12-29 02:06:53 -0300
commit29827855d06bb41dd2109fc36935fc84925eb094 (patch)
tree9f40b3a7796c8c9c004554efdc0086ea16c715ab /src/server/scripts
parent27fb5fc16d88c0002898981009bedc6b8001cac7 (diff)
Core/Spell: Fix Turn the Tables
Closes #5134
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_rogue.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp
index f3d30af1f84..ad5dafff0c4 100644
--- a/src/server/scripts/Spells/spell_rogue.cpp
+++ b/src/server/scripts/Spells/spell_rogue.cpp
@@ -1102,8 +1102,7 @@ class spell_rog_turn_the_tables : public SpellScriptLoader
if (!caster)
return;
- Unit* target = GetTarget();
- target->CastSpell((Unit*)nullptr, GetSpellInfo()->Effects[EFFECT_0].TriggerSpell, true, nullptr, aurEff, caster->GetGUID());
+ caster->CastSpell((Unit*)nullptr, GetSpellInfo()->Effects[EFFECT_0].TriggerSpell, true, nullptr, aurEff);
}
void Register() override