mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 18:10:00 +00:00
small improvement
# Conflicts: # src/control/Restart.cpp
This commit is contained in:
parent
b9b7d5ac21
commit
6a6551f39b
|
@ -83,7 +83,7 @@ CRestart::FindClosestHospitalRestartPoint(const CVector &pos, CVector *outPos, f
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue