1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-25 18:05:27 +00:00

one more fix

# Conflicts:
#	src/control/Restart.cpp
This commit is contained in:
Nikolay 2020-11-22 02:31:52 +03:00 committed by Sergeanur
parent 6a6551f39b
commit 2b53f267a7

View file

@ -130,7 +130,7 @@ CRestart::FindClosestPoliceRestartPoint(const CVector &pos, CVector *outPos, flo
} }
eLevelName curlevel = CTheZones::GetLevelFromPosition(&pos); eLevelName curlevel = CTheZones::GetLevelFromPosition(&pos);
float fMinDist = 16000000.0f; float fMinDist = SQR(4000.0f);
int closestPoint = NUM_RESTART_POINTS; int closestPoint = NUM_RESTART_POINTS;
// find closest point on this level // find closest point on this level