aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkandera <kanderacutie@hotmail.com>2012-04-09 10:38:08 -0300
committerkandera <kanderacutie@hotmail.com>2012-04-09 10:38:08 -0300
commit7f377964fbdda712bca09cc149e15321dfe8bd21 (patch)
treedc59339526141bc7e92f6ec8c5c481fa9ca14643 /src
parent1f1e243bfa490ff32d8b047793d48d09cad14405 (diff)
Core/Scripts: fix unrelenting assault procing on caster (thx gigatotem). both cast spells have target_unit_caster
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_warrior.cpp2
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 c87c2e05289..2ce3c72580e 100644
--- a/src/server/scripts/Spells/spell_warrior.cpp
+++ b/src/server/scripts/Spells/spell_warrior.cpp
@@ -443,7 +443,7 @@ public:
Unit* target = GetHitUnit();
if (target->HasUnitState(UNIT_STATE_CASTING))
- GetCaster()->CastSpell(target, spellId, true);
+ target->CastSpell(target, spellId, true);
}
void Register()