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:
MDIC
2022-04-09 12:54:00 -04:00
parent a0bca3d8f2
commit 3d98caf636

View File

@@ -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;