mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 06:18:59 +00:00
small improvement
This commit is contained in:
parent
15ae9e2a3e
commit
d24e1ee592
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ CRestart::FindClosestHospitalRestartPoint(const CVector &pos, CVector *outPos, f
|
|||
}
|
||||
|
||||
eLevelName curlevel = CTheZones::FindZoneForPoint(pos);
|
||||
float fMinDist = 16000000.0f;
|
||||
float fMinDist = SQR(4000.0f);
|
||||
int closestPoint = NUM_RESTART_POINTS;
|
||||
|
||||
// find closest point on this level
|
||||
|
|
Loading…
Reference in a new issue