diff options
author | n0n4m3 <none@none> | 2009-12-17 10:43:12 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 10:43:12 +0100 |
commit | 5697ea9c9440877d64eb6b04a1c5b49d0f535f2e (patch) | |
tree | 6e67b292339a80117aebcce44ee45ed895cb1f22 /src/game/BattleGroundAB.cpp | |
parent | 2edfea7bb905413db649d1a75d1495657adc4219 (diff) |
Update BattleGround System for 322a
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundAB.cpp')
-rw-r--r-- | src/game/BattleGroundAB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGroundAB.cpp b/src/game/BattleGroundAB.cpp index b684f4523e1..0fea16bfcbd 100644 --- a/src/game/BattleGroundAB.cpp +++ b/src/game/BattleGroundAB.cpp @@ -420,11 +420,11 @@ void BattleGroundAB::EventPlayerClickedOnFlag(Player *source, GameObject* /*targ return; uint8 node = BG_AB_NODE_STABLES; - GameObject* obj=HashMapHolder<GameObject>::Find(m_BgObjects[node*8+7]); + GameObject* obj=GetBgMap()->GetGameObject(m_BgObjects[node*8+7]); while ( (node < BG_AB_DYNAMIC_NODES_COUNT) && ((!obj) || (!source->IsWithinDistInMap(obj,10)))) { ++node; - obj=HashMapHolder<GameObject>::Find(m_BgObjects[node*8+BG_AB_OBJECT_AURA_CONTESTED]); + obj=GetBgMap()->GetGameObject(m_BgObjects[node*8+BG_AB_OBJECT_AURA_CONTESTED]); } if (node == BG_AB_DYNAMIC_NODES_COUNT) |