Fixed bots unable to search bomp defuse point, cause search radius is too small for buckets.
Fixed uninitialized variable in team counting.
This commit is contained in:
parent
c70e3bd756
commit
602d2ddd8c
3 changed files with 5 additions and 5 deletions
|
|
@ -423,7 +423,7 @@ void BotManager::maintainQuota (void) {
|
|||
createRandom ();
|
||||
}
|
||||
else if (desiredBotCount < botsInGame) {
|
||||
int ts, cts = 0;
|
||||
int ts = 0, cts = 0;
|
||||
countTeamPlayers (ts, cts);
|
||||
|
||||
if (ts > cts) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue