From 7a2f21a0b18ca90cc351521d31d56e5eede6a263 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 9 Mar 2009 18:00:56 -0600 Subject: [7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject --HG-- branch : trunk --- src/game/BattleGroundEY.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/BattleGroundEY.cpp') diff --git a/src/game/BattleGroundEY.cpp b/src/game/BattleGroundEY.cpp index 49b6c29a7c3..b473a14df37 100644 --- a/src/game/BattleGroundEY.cpp +++ b/src/game/BattleGroundEY.cpp @@ -156,7 +156,7 @@ void BattleGroundEY::CheckSomeoneJoinedPoint() ++j; continue; } - if (plr->isAllowUseBattleGroundObject() && plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) + if (plr->CanCaptureTowerPoint() && plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) { //player joined point! //show progress bar @@ -199,7 +199,7 @@ void BattleGroundEY::CheckSomeoneLeftPoint() ++j; continue; } - if (!plr->isAllowUseBattleGroundObject() || !plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) + if (!plr->CanCaptureTowerPoint() || !plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) //move player out of point (add him to players that are out of points { m_PlayersNearPoint[EY_POINTS_MAX].push_back(m_PlayersNearPoint[i][j]); -- cgit v1.2.3