From 3d98caf636ca940f8242374617ff5314d0688806 Mon Sep 17 00:00:00 2001 From: MDIC Date: Sat, 9 Apr 2022 12:54:00 -0400 Subject: [PATCH] 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. --- src/AnticheatMgr.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 38c9d4b..0031ac9 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -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;