ai/ai.c
changeset 4850 93095755db8c
parent 4848 45f848b46222
child 4854 151cdb683187
equal deleted inserted replaced
4849:1c6f21eb97f2 4850:93095755db8c
   211 /**
   211 /**
   212  * A new AI sees the day of light. You can do here what ever you think is needed.
   212  * A new AI sees the day of light. You can do here what ever you think is needed.
   213  */
   213  */
   214 void AI_StartNewAI(PlayerID player)
   214 void AI_StartNewAI(PlayerID player)
   215 {
   215 {
   216 	assert(player < MAX_PLAYERS);
   216 	assert(IsValidPlayer(player));
   217 
   217 
   218 	/* Called if a new AI is booted */
   218 	/* Called if a new AI is booted */
   219 	_ai_player[player].active = true;
   219 	_ai_player[player].active = true;
   220 }
   220 }
   221 
   221