aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundBE.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-17 14:06:20 +0100
committern0n4m3 <none@none>2009-12-17 14:06:20 +0100
commiteccf162be2e8cb821087f49dfd9a0885e6c0e73c (patch)
tree9c52c4f530cc864538278167a93601463629eb0e /src/game/BattleGroundBE.cpp
parent89656d5749f72803edbdd5f9840ba6b4c21f3987 (diff)
Fixed compile errors and some typos
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundBE.cpp')
-rw-r--r--src/game/BattleGroundBE.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/game/BattleGroundBE.cpp b/src/game/BattleGroundBE.cpp
index c20af53e013..057846285bd 100644
--- a/src/game/BattleGroundBE.cpp
+++ b/src/game/BattleGroundBE.cpp
@@ -82,7 +82,7 @@ void BattleGroundBE::AddPlayer(Player *plr)
m_PlayerScores[plr->GetGUID()] = sc;
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
}
void BattleGroundBE::RemovePlayer(Player* /*plr*/, uint64 /*guid*/)
@@ -90,7 +90,7 @@ void BattleGroundBE::RemovePlayer(Player* /*plr*/, uint64 /*guid*/)
if (GetStatus() == STATUS_WAIT_LEAVE)
return;
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
CheckArenaWinConditions();
}
@@ -107,7 +107,7 @@ void BattleGroundBE::HandleKillPlayer(Player *player, Player *killer)
BattleGround::HandleKillPlayer(player,killer);
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
CheckArenaWinConditions();
}
@@ -146,8 +146,7 @@ void BattleGroundBE::HandleAreaTrigger(Player *Source, uint32 Trigger)
void BattleGroundBE::FillInitialWorldStates(WorldPacket &data)
{
data << uint32(0x9f3) << uint32(1); // 9
-
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
}
void BattleGroundBE::Reset()
@@ -200,4 +199,3 @@ spell 32725 - Green Team
35774 Gold Team
35775 Green Team
*/
-