From b1eef65f6bc0c911bff24b91a7a42ef9efff1a4a Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Tue, 8 Feb 2022 14:37:05 +0700 Subject: [PATCH] fix(Build): correct build --- src/AnticheatMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 9b4d192..9e4632e 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -221,7 +221,7 @@ void AnticheatMgr::ClimbHackDetection(Player *player, MovementInfo movementInfo, player->IsFalling()) return; - Position pos = player->GetPosition(); + Position playerPos = player->GetPosition(); float deltaZ = fabs(playerPos.GetPositionZ() - movementInfo.pos.GetPositionZ()); float deltaXY = movementInfo.pos.GetExactDist2d(&playerPos);