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