diff options
| author | LihO <liho@posterus.cz> | 2012-01-30 20:16:48 +0100 |
|---|---|---|
| committer | LihO <liho@posterus.cz> | 2012-01-30 20:16:48 +0100 |
| commit | e9b8d10e23e08486505762da1fe4addb81790e44 (patch) | |
| tree | 5e31c6932cdb9b017b4ea76977a2ec8a3c7afbc6 /src | |
| parent | cd29b0640c3820bbdcd156c37afc6f0f04ab5080 (diff) | |
Core/Battlegrounds: fixed logic in iterating through the PlayersNearPoint vector
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp index 1e7f79b8391..cbc3ec85055 100755 --- a/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp @@ -196,7 +196,6 @@ void BattlegroundEY::CheckSomeoneLeftPoint() //move not existed player to "free space" - this will cause many error showing in log, but it is a very important bug m_PlayersNearPoint[EY_POINTS_MAX].push_back(m_PlayersNearPoint[i][j]); m_PlayersNearPoint[i].erase(m_PlayersNearPoint[i].begin() + j); - ++j; continue; } if (!player->CanCaptureTowerPoint() || !player->IsWithinDistInMap(obj, BG_EY_POINT_RADIUS)) |
