diff options
author | megamage <none@none> | 2008-11-25 16:36:50 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-25 16:36:50 -0600 |
commit | f6ea784eda445794bf99ba2b9f97012ea4009f59 (patch) | |
tree | 97ed434b569dd1194854908cd3fe67a9129a5e8b /src/game/BattleGroundEY.cpp | |
parent | 52f2e35d65af17abfd9499232398bab338db78e1 (diff) |
*Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundEY.cpp')
-rw-r--r-- | src/game/BattleGroundEY.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGroundEY.cpp b/src/game/BattleGroundEY.cpp index d828d626ad2..3b545e5e65b 100644 --- a/src/game/BattleGroundEY.cpp +++ b/src/game/BattleGroundEY.cpp @@ -191,7 +191,7 @@ void BattleGroundEY::CheckSomeoneJoinedPoint() ++j; continue; } - if (plr->isAlive() && plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) + if (plr->isAllowUseBattleGroundObject() && plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) { //player joined point! //show progress bar @@ -234,7 +234,7 @@ void BattleGroundEY::CheckSomeoneLeftPoint() ++j; continue; } - if (!plr->isAlive() || !plr->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) + if (!plr->isAllowUseBattleGroundObject() || !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]); |