Merge pull request #2 from WoWHellgarve-HolyDeeW/master

Horde AV BG fine tuning
This commit is contained in:
holydeew
2022-10-01 18:22:52 +01:00
committed by GitHub

View File

@@ -935,7 +935,9 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo)
{
sAnticheatMgr->BGreport(player);
}
if (player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f)
if ((player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f) ||
(player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionX() > -1283.33f) ||
(player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() < -716.0f))
{
sAnticheatMgr->BGreport(player);
}