mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Code Reduction
Ebon hold removed due to the teleport helpers being added ina couple of commits ago. Originally the ebon hold provided a aura for DK's that gave a speed boost just in that area that was flagging the speed hack, also the teleporter pad gave a false hit as well for speed hack. both of which no longers happens.
This commit is contained in:
@@ -414,16 +414,6 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
|
||||
break;// Should never happen
|
||||
}
|
||||
|
||||
switch (player->GetAreaId())
|
||||
{
|
||||
case 4281: //Acherus: The Ebon Hold
|
||||
case 4342: //Acherus: The Ebon Hold
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
break;// Should never happen
|
||||
}
|
||||
|
||||
uint32 distance2D = (uint32)movementInfo.pos.GetExactDist2d(&m_Players[key].GetLastMovementInfo().pos);
|
||||
uint8 moveType = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user