Re: Reporting of Bugs and Errors for E[POD]bot -
31-10-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)
|