mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Update AnticheatMgr.cpp
This commit is contained in:
@@ -931,7 +931,8 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo)
|
|||||||
// Outside of starting area before BG has started.
|
// Outside of starting area before BG has started.
|
||||||
if ((player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() < 770.0f) ||
|
if ((player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() < 770.0f) ||
|
||||||
(player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() > 940.31f) ||
|
(player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionX() > 940.31f) ||
|
||||||
(player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionY() < -525.0f)) {
|
(player->GetTeamId() == TEAM_ALLIANCE && movementInfo.pos.GetPositionY() < -525.0f))
|
||||||
|
{
|
||||||
sAnticheatMgr->BGreport(player);
|
sAnticheatMgr->BGreport(player);
|
||||||
}
|
}
|
||||||
if (player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f)
|
if (player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f)
|
||||||
|
|||||||
Reference in New Issue
Block a user