From 2b53f267a75e5d63d5d8814747fe81215946d535 Mon Sep 17 00:00:00 2001 From: Nikolay Date: Sun, 22 Nov 2020 02:31:52 +0300 Subject: one more fix # Conflicts: # src/control/Restart.cpp --- src/control/Restart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/Restart.cpp b/src/control/Restart.cpp index eadaa5ac..f63d2c07 100644 --- a/src/control/Restart.cpp +++ b/src/control/Restart.cpp @@ -130,7 +130,7 @@ CRestart::FindClosestPoliceRestartPoint(const CVector &pos, CVector *outPos, flo } eLevelName curlevel = CTheZones::GetLevelFromPosition(&pos); - float fMinDist = 16000000.0f; + float fMinDist = SQR(4000.0f); int closestPoint = NUM_RESTART_POINTS; // find closest point on this level -- cgit v1.2.3