Example #1
0
/*
==============
BotInterbreedEndMatch

add link back into ExitLevel?
==============
*/
void BotInterbreedEndMatch(void) {

	if (!bot_interbreed) return;
	bot_interbreedmatchcount++;
	if (bot_interbreedmatchcount >= bot_interbreedcycle.integer) {
		bot_interbreedmatchcount = 0;
		//
		trap_Cvar_Update(&bot_interbreedwrite);
		if (strlen(bot_interbreedwrite.string)) {
			BotWriteInterbreeded(bot_interbreedwrite.string);
			trap_Cvar_Set("bot_interbreedwrite", "");
		}
		BotInterbreedBots();
	}
}
Example #2
0
/*
==============
BotInterbreedEndMatch
 
add link back into ExitLevel?
==============
*/
void BotInterbreedEndMatch(void)
{

    if (!bot_interbreed) return;
    bot_interbreedmatchcount++;
    if (bot_interbreedmatchcount >= bot_interbreedcycle->integer)
    {
        bot_interbreedmatchcount = 0;
        //
        if (strlen(bot_interbreedwrite->string))
        {
            BotWriteInterbreeded(bot_interbreedwrite->string);
            Cvar_Set("bot_interbreedwrite", "");
        }
        BotInterbreedBots();
    }
}