Skip to content

Commit 705eefb

Browse files
lucafollonisudludsogladev
authored
fix(Scripts/Spells): Raise Ally now properly handles target check (#23272)
Co-authored-by: sudlud <[email protected]> Co-authored-by: sogladev <[email protected]>
1 parent c19593e commit 705eefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/scripts/Spells/spell_dk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class spell_dk_raise_ally : public SpellScript
152152

153153
SpellCastResult CheckCast()
154154
{
155-
Player* unitTarget = GetHitPlayer();
155+
Unit* unitTarget = GetExplTargetUnit();
156156
if (!unitTarget)
157157
return SPELL_FAILED_BAD_TARGETS;
158158

0 commit comments

Comments
 (0)