View Single Post
Re: Reporting of Bugs and Errors for E[POD]bot
Old
  (#14)
preztoo
Member
 
Status: Offline
Posts: 18
Join Date: Oct 2005
Default Re: Reporting of Bugs and Errors for E[POD]bot - 01-11-2005

in bot.cpp

change

// Find a free slot in our Table of Bots
index = 0;
while ((bots[index].is_used) && (index < gpGlobals->maxClients))
index++;
// Too many existing Bots in Game
if (index == gpGlobals->maxClients)

to

// Find a free slot in our Table of Bots
index = 0;
while ((bots[index].is_used) && (index < max_bots))
index++;
// Too many existing Bots in Game
if (index == max_bots)
  
Reply With Quote