aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundNA.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/BattleGroundNA.cpp
parent89656d5749f72803edbdd5f9840ba6b4c21f3987 (diff)
Fixed compile errors and some typos
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundNA.cpp')
-rw-r--r--src/game/BattleGroundNA.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/game/BattleGroundNA.cpp b/src/game/BattleGroundNA.cpp
index b08cdd1196e..da370de7136 100644
--- a/src/game/BattleGroundNA.cpp
+++ b/src/game/BattleGroundNA.cpp
@@ -79,7 +79,7 @@ void BattleGroundNA::AddPlayer(Player *plr)
m_PlayerScores[plr->GetGUID()] = sc;
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
}
void BattleGroundNA::RemovePlayer(Player* /*plr*/, uint64 /*guid*/)
@@ -87,7 +87,7 @@ void BattleGroundNA::RemovePlayer(Player* /*plr*/, uint64 /*guid*/)
if (GetStatus() == STATUS_WAIT_LEAVE)
return;
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
CheckArenaWinConditions();
}
@@ -104,7 +104,7 @@ void BattleGroundNA::HandleKillPlayer(Player *player, Player *killer)
BattleGround::HandleKillPlayer(player,killer);
- UpdateArenaUnitWorldState();
+ UpdateArenaWorldState();
CheckArenaWinConditions();
}
@@ -138,9 +138,8 @@ void BattleGroundNA::HandleAreaTrigger(Player *Source, uint32 Trigger)
void BattleGroundNA::FillInitialWorldStates(WorldPacket &data)
{
- data << uint32(0xa11) << uint32(1);
-
- UpdateArenaUnitWorldState();
+ data << uint32(0xa11) << uint32(1); // 9
+ UpdateArenaWorldState();
}
void BattleGroundNA::Reset()
@@ -176,4 +175,3 @@ bool BattleGroundNA::SetupBattleGround()
0040: 00 00 00 00 00 00 d5 08 00 00 00 00 00 00 d3 08 | ................
0050: 00 00 00 00 00 00 | ......
*/
-