From 4365d3d1aa8ddecbf406b967362b338128aad781 Mon Sep 17 00:00:00 2001 From: acidmanifesto Date: Mon, 7 Feb 2022 16:10:51 -0500 Subject: [PATCH] Climb Hack now actually works and reports. --- src/AnticheatMgr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 9735076..9b4d192 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -221,8 +221,7 @@ void AnticheatMgr::ClimbHackDetection(Player *player, MovementInfo movementInfo, player->IsFalling()) return; - Position playerPos; - // Position pos = player->GetPosition(); + Position pos = player->GetPosition(); float deltaZ = fabs(playerPos.GetPositionZ() - movementInfo.pos.GetPositionZ()); float deltaXY = movementInfo.pos.GetExactDist2d(&playerPos);