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