|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: single.c,v 1.47 2003/11/09 03:56:56 stpohle Exp $ */
|
|
|
|
|
/* $Id: single.c,v 1.48 2003/11/09 04:09:49 stpohle Exp $ */
|
|
|
|
|
/* single player */
|
|
|
|
|
|
|
|
|
|
#include "basic.h"
|
|
|
|
@ -552,7 +552,7 @@ single_create_ai (int num_players)
|
|
|
|
|
for (pl = NULL, p = 0; (pl == NULL && p < MAX_PLAYERS); p++)
|
|
|
|
|
if (!(PS_IS_used (players[p].state))) {
|
|
|
|
|
pl = &players[p];
|
|
|
|
|
sprintf (pl->name, "AI %d", count + 1);
|
|
|
|
|
sprintf (pl->name, "AIPlayer %d", p+1);
|
|
|
|
|
pl->state |= PSF_used + PSF_alife + PSF_playing + PSF_ai;
|
|
|
|
|
pl->net.flags = NETF_firewall;
|
|
|
|
|
sprintf (pl->net.addr.host, "localhost");
|
|
|
|
|