diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-11-22 00:31:52 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-22 22:13:43 +0100 |
commit | 2b53f267a75e5d63d5d8814747fe81215946d535 (patch) | |
tree | c45afe2cbd0b4451f78f66e1f7f51a333d39e4ab /src/control | |
parent | small improvement (diff) | |
download | re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar.gz re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar.bz2 re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar.lz re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar.xz re3-2b53f267a75e5d63d5d8814747fe81215946d535.tar.zst re3-2b53f267a75e5d63d5d8814747fe81215946d535.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Restart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |