aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game')
-rwxr-xr-xsrc/server/game/Battlegrounds/Zones/BattlegroundSA.cpp9
-rwxr-xr-xsrc/server/game/Battlegrounds/Zones/BattlegroundSA.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
index 1f2c2c337c6..4bbc5ce6f61 100755
--- a/src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
@@ -490,15 +490,6 @@ void BattlegroundSA::UpdatePlayerScore(Player* Source, uint32 type, uint32 value
Battleground::UpdatePlayerScore(Source,type,value, doAddHonor);
}
-uint32 BattlegroundSA::GetPlayerDemolisherScore(Player* source)
-{
- BattlegroundScoreMap::iterator itr = m_PlayerScores.find(source->GetGUID());
- if (itr == m_PlayerScores.end()) // player not found...
- return 0;
- else
- return ((BattlegroundSAScore*)itr->second)->demolishers_destroyed;
-}
-
void BattlegroundSA::TeleportPlayers()
{
for (BattlegroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr)
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h
index 068d71ba1c2..5bd5216b708 100755
--- a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h
@@ -486,8 +486,6 @@ class BattlegroundSA : public Battleground
/* Scorekeeping */
/// Update score board
-
- uint32 GetPlayerDemolisherScore(Player* /*source*/);
void UpdatePlayerScore(Player *Source, uint32 type, uint32 value, bool doAddHonor = true);
private: