From 02c902440b8a250bf492811a05b034a42bf0a0c5 Mon Sep 17 00:00:00 2001 From: MDIC Date: Wed, 27 Apr 2022 13:45:21 -0400 Subject: [PATCH] Note Corrections --- src/AnticheatMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index d5e20a2..5fcd015 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -244,7 +244,7 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo) if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER) return; - // This is Black Magic. Check only for x and y difference but no z difference that is greater then or equal to z +5 of the ground + // This is Black Magic. Check only for x and y difference but no z difference that is greater then or equal to z +2.5 of the ground if (m_Players[key].GetLastMovementInfo().pos.GetPositionZ() == movementInfo.pos.GetPositionZ() && player->GetPositionZ() >= player->GetFloorZ() + 2.5f) {