From 4d9d82bb104794ca3f9dc2170e6e6219cc97502d Mon Sep 17 00:00:00 2001 From: iCE Date: Sat, 1 Oct 2022 19:30:48 +0200 Subject: [PATCH] Warsong Gulch BG Fine Tuning --- src/AnticheatMgr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 0fd3f3d..9fff45d 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -957,7 +957,9 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo) if (bg->GetStatus() == STATUS_WAIT_JOIN) { // Outside of starting area before BG has started. - if (player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() < 1490.0f) + if ((player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() < 1490.0f) || + (player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionY() > 1500.0f) || + (player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionY() < 1450.0f)) { sAnticheatMgr->BGreport(player); }