Let all bots 'think'
| 71 | } |
| 72 | // Let all bots 'think' |
| 73 | loopv(bots) |
| 74 | { |
| 75 | if (!bots[i]) continue; |
| 76 | if (bots[i]->pBot) |
| 77 | { |
| 78 | bots[i]->pBot->CheckWeaponSwitch(); // 2011jan17:ft: fix non-shooting bots |
| 79 | bots[i]->pBot->Think(); |
| 80 | } |
| 81 | else condebug("Error: pBot == NULL in bot ent\n"); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | void CBotManager::LoadBotNamesFile() |
no test coverage detected