aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2010-05-12 07:32:04 +0200
committerRat <none@none>2010-05-12 07:32:04 +0200
commitbfa0588fac005b6f274edb8ccd7b622cd47dd1ff (patch)
tree233c100feda829b7dd40339160e4372093f90133 /src
parent75c136468267ee379e1f839be6ce3c049efca74a (diff)
typo :(
should olso fix linux compile --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/BattleGround.cpp2
-rw-r--r--src/game/BattleGround.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index 56ed82a2533..06a4dbd5391 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -1952,7 +1952,7 @@ void BattleGround::SetBracket(PvPDifficultyEntry const* bracketEntry)
SetLevelRange(bracketEntry->minLevel,bracketEntry->maxLevel);
}
-void BattleGround::RewardXPAtKill(Player* plr, Unit* victim)
+void BattleGround::RewardXPAtKill(Player* plr, Player* victim)
{
if (!plr || !victim)
return;
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h
index 28796ee4fed..43b7f59fff2 100644
--- a/src/game/BattleGround.h
+++ b/src/game/BattleGround.h
@@ -549,7 +549,7 @@ class BattleGround
/* virtual score-array - get's used in bg-subclasses */
int32 m_TeamScores[BG_TEAMS_COUNT];
- void RewardXPAtKill(Player* plr, Unit* victim);
+ void RewardXPAtKill(Player* plr, Player* victim);
protected:
//this method is called, when BG cannot spawn its own spirit guide, or something is wrong, It correctly ends BattleGround