aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2013-09-06 12:51:00 -0700
committerSubv <subv2112@gmail.com>2013-09-06 12:51:00 -0700
commit8c70f8cb08d2fc3b38abcac25d421cdd92e25615 (patch)
tree27365a42e442140b0ce75be9714a558f22268257 /src
parentbc1a079b6ca2516d80f3eed5b911971b77cabce4 (diff)
parent3816fb440ff34cff5a0b82b990ac70e2db373045 (diff)
Merge pull request #10730 from jackpoz/scoreboard_fix
Core/Battleground: Fix scoreboard
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
index 557cb9de09f..62ffb0fb832 100644
--- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
@@ -262,8 +262,8 @@ void BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket* data, Battleground* bg)
Battleground::BattlegroundScoreMap::const_iterator itr2 = bg->GetPlayerScoresBegin();
for (Battleground::BattlegroundScoreMap::const_iterator itr = itr2; itr != bg->GetPlayerScoresEnd();)
{
- BattlegroundScore* score = itr2->second;
itr2 = itr++;
+ BattlegroundScore* score = itr2->second;
if (!bg->IsPlayerInBattleground(itr2->first))
{
TC_LOG_ERROR(LOG_FILTER_BATTLEGROUND, "Player " UI64FMTD " has scoreboard entry for battleground %u but is not in battleground!", itr->first, bg->GetTypeID(true));