diff options
author | n0n4m3 <none@none> | 2009-12-17 14:06:20 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 14:06:20 +0100 |
commit | eccf162be2e8cb821087f49dfd9a0885e6c0e73c (patch) | |
tree | 9c52c4f530cc864538278167a93601463629eb0e /src/game/BattleGroundRL.cpp | |
parent | 89656d5749f72803edbdd5f9840ba6b4c21f3987 (diff) |
Fixed compile errors and some typos
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundRL.cpp')
-rw-r--r-- | src/game/BattleGroundRL.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/game/BattleGroundRL.cpp b/src/game/BattleGroundRL.cpp index 8ed8fd1b5b7..4c072713162 100644 --- a/src/game/BattleGroundRL.cpp +++ b/src/game/BattleGroundRL.cpp @@ -79,7 +79,7 @@ void BattleGroundRL::AddPlayer(Player *plr) m_PlayerScores[plr->GetGUID()] = sc; - UpdateArenaUnitWorldState(); + UpdateArenaWorldState(); } void BattleGroundRL::RemovePlayer(Player* /*plr*/, uint64 /*guid*/) @@ -87,7 +87,7 @@ void BattleGroundRL::RemovePlayer(Player* /*plr*/, uint64 /*guid*/) if (GetStatus() == STATUS_WAIT_LEAVE) return; - UpdateArenaUnitWorldState(); + UpdateArenaWorldState(); CheckArenaWinConditions(); } @@ -104,7 +104,7 @@ void BattleGroundRL::HandleKillPlayer(Player *player, Player *killer) BattleGround::HandleKillPlayer(player,killer); - UpdateArenaUnitWorldState(); + UpdateArenaWorldState(); CheckArenaWinConditions(); } @@ -139,9 +139,8 @@ void BattleGroundRL::HandleAreaTrigger(Player *Source, uint32 Trigger) void BattleGroundRL::FillInitialWorldStates(WorldPacket &data) { - data << uint32(0xbba) << uint32(1); - - UpdateArenaUnitWorldState(); + data << uint32(0xbba) << uint32(1); // 9 + UpdateArenaWorldState(); } void BattleGroundRL::Reset() @@ -175,4 +174,3 @@ Packet S->C, id 600, SMSG_INIT_WORLD_STATES (706), len 86 0040: 00 00 00 00 00 00 D3 08 00 00 00 00 00 00 D4 08 | ................ 0050: 00 00 00 00 00 00 | ...... */ - |