fix(Build): correct build

This commit is contained in:
Winfidonarleyan
2022-02-08 14:37:05 +07:00
parent 4365d3d1aa
commit b1eef65f6b

View File

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