|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: single.c,v 1.64 2004/06/08 22:35:26 stpohle Exp $ */
|
|
|
|
|
/* $Id: single.c,v 1.65 2004/06/13 12:03:26 stpohle Exp $ */
|
|
|
|
|
/* single player */
|
|
|
|
|
|
|
|
|
|
#include "basic.h"
|
|
|
|
@ -556,6 +556,8 @@ single_create_ai (int num_players)
|
|
|
|
|
i = 0;
|
|
|
|
|
_player *pl;
|
|
|
|
|
|
|
|
|
|
d_printf ("single_create_ai : number of ai players %d\n", num_players);
|
|
|
|
|
|
|
|
|
|
for (count = 0; count < num_players; count++) {
|
|
|
|
|
/* find free players */
|
|
|
|
|
for (pl = NULL, p = 0; (pl == NULL && p < MAX_PLAYERS); p++)
|
|
|
|
@ -783,8 +785,10 @@ single_menu ()
|
|
|
|
|
s_calctimesync ();
|
|
|
|
|
} while (!done);
|
|
|
|
|
|
|
|
|
|
if (menu->focus->id == 2)
|
|
|
|
|
if (menu->focus->id == 2) {
|
|
|
|
|
bman.ai_players = selnrplayer - &nrplayerlist[0];
|
|
|
|
|
single_playergame (second_player, bman.ai_players);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
menu_delete (menu);
|
|
|
|
|
};
|
|
|
|
|