Skip to content

Instantly share code, notes, and snippets.

@Jildor
Created May 8, 2011 20:02
Show Gist options
  • Save Jildor/961647 to your computer and use it in GitHub Desktop.
Save Jildor/961647 to your computer and use it in GitHub Desktop.
Fix harpoon utgarde keep
From aeddf0e48a9e87b5f17cf4af2b84157168716c2e Mon Sep 17 00:00:00 2001
From: Jildor <[email protected]>
Date: Sun, 8 May 2011 21:50:45 +0200
Subject: [PATCH] Core/Spells: Fix Harpoons (thx burnham)
---
src/server/game/Spells/Spell.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index e01f82e..d553195 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -2118,6 +2118,8 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
pushType = PUSH_CHAIN;
break;
case TARGET_UNIT_TARGET_ALLY:
+ AddUnitTarget(target, i);
+ break;
case TARGET_UNIT_TARGET_RAID:
case TARGET_UNIT_TARGET_PARTY:
case TARGET_UNIT_TARGET_PUPPET:
--
1.7.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment