equal
deleted
inserted
replaced
248 /** |
248 /** |
249 * A new AI sees the day of light. You can do here what ever you think is needed. |
249 * A new AI sees the day of light. You can do here what ever you think is needed. |
250 */ |
250 */ |
251 void AI_StartNewAI(PlayerID player) |
251 void AI_StartNewAI(PlayerID player) |
252 { |
252 { |
|
253 assert(player < MAX_PLAYERS); |
|
254 |
253 #ifdef GPMI |
255 #ifdef GPMI |
254 /* Keep this in a different IF, because the function can turn _ai.gpmi off!! */ |
256 /* Keep this in a different IF, because the function can turn _ai.gpmi off!! */ |
255 if (_ai.gpmi && _ai.gpmi_mod == NULL) |
257 if (_ai.gpmi && _ai.gpmi_mod == NULL) |
256 AI_LoadAIControl(); |
258 AI_LoadAIControl(); |
257 |
259 |