Climb Hack now actually works and reports.

This commit is contained in:
acidmanifesto
2022-02-07 16:10:51 -05:00
committed by GitHub
parent 1d17c6ce4c
commit 4365d3d1aa

View File

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