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
|
|
@ -417,7 +417,7 @@ void NetworkMsg::Execute (void *p)
|
|||
bot->DeleteSearchNodes();
|
||||
bot->ResetTasks();
|
||||
|
||||
if (g_randGen.Long(0, 100) < 75 && GetTeam(bot->GetEntity()) == TEAM_CF)
|
||||
if (Random.Long(0, 100) < 75 && GetTeam(bot->GetEntity()) == TEAM_CF)
|
||||
bot->ChatterMessage(Chatter_WhereIsTheBomb);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue