cosmetic changes
This commit is contained in:
parent
c2316dd8b1
commit
1d22832979
9 changed files with 436 additions and 434 deletions
|
|
@ -650,7 +650,7 @@ Bot *BotManager::GetHighestFragsBot (int team)
|
|||
// search bots in this team
|
||||
for (int i = 0; i < GetMaxClients (); i++)
|
||||
{
|
||||
highFragBot = botMgr->GetBot (i);
|
||||
highFragBot = botMgr.GetBot (i);
|
||||
|
||||
if (highFragBot != NULL && IsAlive (highFragBot->GetEntity ()) && GetTeam (highFragBot->GetEntity ()) == team)
|
||||
{
|
||||
|
|
@ -1158,8 +1158,8 @@ void Bot::Kick (void)
|
|||
CenterPrint ("Bot '%s' kicked", STRING (pev->netname));
|
||||
|
||||
// balances quota
|
||||
if (botMgr->GetBotsNum () - 1 < yb_quota.GetInt ())
|
||||
yb_quota.SetInt (botMgr->GetBotsNum () - 1);
|
||||
if (botMgr.GetBotsNum () - 1 < yb_quota.GetInt ())
|
||||
yb_quota.SetInt (botMgr.GetBotsNum () - 1);
|
||||
}
|
||||
|
||||
void Bot::StartGame (void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue