fixed FindNearest() default value to use with squared length's
This commit is contained in:
parent
ac3a5c7c3f
commit
95a02680ca
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ TacticChoosen:
|
|||
// force bomber to select closest goal, if round-start goal was reset by something
|
||||
if (m_hasC4 && g_timeRoundStart + 20.0f < GetWorldTime ())
|
||||
{
|
||||
float minDist = 999999.0f;
|
||||
float minDist = 99999999.0f;
|
||||
int count = 0;
|
||||
|
||||
for (int i = 0; i < g_numWaypoints; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue