diff options
author | Spp <none@none> | 2010-04-07 16:27:17 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 16:27:17 +0200 |
commit | 7afdb17ed39f85c5e9e69de8c91a0cfed9a0fe84 (patch) | |
tree | 052f7de767e77c76488421ef971d1450b3ad2805 | |
parent | 9923df774580cbba6455face1631074105db9bba (diff) |
Fix a typo in SOTA that prevented players to respawn in one of the graveyards
--HG--
branch : trunk
-rw-r--r-- | src/game/BattleGroundSA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGroundSA.cpp b/src/game/BattleGroundSA.cpp index 05ca6bbe60c..33e05ece62f 100644 --- a/src/game/BattleGroundSA.cpp +++ b/src/game/BattleGroundSA.cpp @@ -539,7 +539,7 @@ WorldSafeLocsEntry const* BattleGroundSA::GetClosestGraveYard(Player* player) ret = sWorldSafeLocsStore.LookupEntry(safeloc); nearest = sqrt((ret->x - x)*(ret->x - x) + (ret->y - y)*(ret->y - y)+(ret->z - z)*(ret->z - z)); - for(uint8 i = BG_SA_LEFT_CAPTURABLE_GY; i < BG_SA_MAX_GY; i++) + for(uint8 i = BG_SA_RIGHT_CAPTURABLE_GY; i < BG_SA_MAX_GY; i++) { if(GraveyardStatus[i] != player->GetTeamId()) continue; |