Thread: Minor bug in
View Single Post
Minor bug in
Old
  (#1)
evy
Guest
 
Status:
Posts: n/a
Default Minor bug in - 25-06-2004

Stefan,

the reallog.txt contains garbage from times to times. Here is probably some wrong code in game.cpp:

Code:
void cGame::CreateSwatTeams()
{
		// loop through all bots, create teams with sizes 2 to 4 bots.
		int iSize=0, iBot=0, iLeaderTries=0;
		bool bRunLoop=true;
		char temp[128];
		log(temp);
It looks wrong to write temp which is not yet initialized

-eric
  
Reply With Quote