aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-09-18 00:54:45 +0200
committerKudlaty <none@none>2009-09-18 00:54:45 +0200
commit4309605dae89a06472ba0710be5f943541846ce1 (patch)
treed16561ac32a609601e5812401d10a84910f9b83a /src
parent9f96e6ce815ab29d71253cfeb9965104c633f657 (diff)
Fix typo in wintergrasp. Patch by Gyullo
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Wintergrasp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index 7fbb0e3964b..fcd624eb606 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -725,7 +725,7 @@ void OPvPWintergrasp::HandleKill(Player *killer, Unit *victim)
if(Group *pGroup = killer->GetGroup())
{
for(GroupReference *itr = pGroup->GetFirstMember(); itr != NULL; itr = itr->next())
- if(itr->getSource()->IsAtGroupRewardDistance(victim) && (itr->getSource()->getLevel() > 69))
+ if(itr->getSource()->IsAtGroupRewardDistance(killer) && itr->getSource()->getLevel() > 69)
PromotePlayer(itr->getSource());
}
else if(killer->getLevel() > 69)