From 4eb49e2a16ace939c691a505cde24fec7c94a204 Mon Sep 17 00:00:00 2001 From: MDIC Date: Fri, 13 May 2022 12:40:15 -0400 Subject: [PATCH] fix (module) Ignore Z false hit --- src/AnticheatMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 9ddda99..82eb64d 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -274,7 +274,7 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo) // We want to exclude this LiquidStatus from detection because it leads to false positives on boats, docks etc. // Basically everytime you stand on a game object in water - if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER && movementInfo.HasMovementFlag(MOVEMENTFLAG_ONTRANSPORT)) + if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER) return; uint32 distance2D = (uint32)movementInfo.pos.GetExactDist2d(&m_Players[key].GetLastMovementInfo().pos);