diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-11-22 00:29:17 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-22 22:13:23 +0100 |
commit | 6a6551f39bbf1a29149f7e52b9ed5b14ade200a1 (patch) | |
tree | f03f29c788f49cef524a44c3eca7e07eb1ff2f3e | |
parent | Merge pull request #825 from aap/miami (diff) | |
download | re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar.gz re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar.bz2 re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar.lz re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar.xz re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.tar.zst re3-6a6551f39bbf1a29149f7e52b9ed5b14ade200a1.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 052e6b61..eadaa5ac 100644 --- a/src/control/Restart.cpp +++ b/src/control/Restart.cpp @@ -83,7 +83,7 @@ CRestart::FindClosestHospitalRestartPoint(const CVector &pos, CVector *outPos, f } 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 |