replaced random number generator with faster one
optimized breakable handling (need testing)
This commit is contained in:
parent
f0dcda5747
commit
e5ce504176
15 changed files with 308 additions and 415 deletions
|
|
@ -2423,7 +2423,7 @@ int Waypoint::AddGoalScore (int index, int other[4])
|
|||
}
|
||||
|
||||
if (left.IsEmpty ())
|
||||
index = other[g_randGen.Long (0, 3)];
|
||||
index = other[Random.Long (0, 3)];
|
||||
else
|
||||
index = left.GetRandomElement ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue