示例#1
0
// Parameter:			 - 
// Returns:				 - 
// Changes Globals:		 - 
// ========================================================================
void BotFreeCharacter(int handle) {

	if (!LibVarGetValue("bot_reloadcharacters")) {
		return;
	}

	BotFreeCharacter2(handle);
} // end of the function BotFreeCharacter
示例#2
0
void
BotShutdownCharacters(void)
{
	int handle;

	for(handle = 1; handle <= MAX_CLIENTS; handle++)
		if(botcharacters[handle])
			BotFreeCharacter2(handle);
}
示例#3
0
//===========================================================================
//
// Parameter:			-
// Returns:				-
// Changes Globals:		-
//===========================================================================
void BotShutdownCharacters( void ) {
	int handle;

	for ( handle = 1; handle <= MAX_CLIENTS; handle++ )
	{
		if ( botcharacters[handle] ) {
			BotFreeCharacter2( handle );
		} //end if
	} //end for
} //end of the function BotShutdownCharacters
示例#4
0
//===========================================================================
//
// Parameter:			-
// Returns:				-
// Changes Globals:		-
//===========================================================================
void BotShutdownCharacters(void)
{
	int handle;

	for (handle = 1; handle < MAX_BOT_CHARACTERS; handle++)
	{
		if (botcharacters[handle].skill)
		{
			BotFreeCharacter2(handle);
		} //end if
	} //end for
} //end of the function BotShutdownCharacters
示例#5
0
//========================================================================
//
// Parameter:			-
// Returns:				-
// Changes Globals:		-
//========================================================================
void BotFreeCharacter(int handle)
{
	if (!bot_reloadcharacters.integer) return;
	BotFreeCharacter2(handle);
} //end of the function BotFreeCharacter
示例#6
0
void
BotFreeCharacter(int handle)
{
	if(!LibVarGetValue("bot_reloadcharacters")) return;
	BotFreeCharacter2(handle);
}