|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: network.c,v 1.27 2003/05/29 21:35:03 stpohle Exp $ */
|
|
|
|
|
/* $Id: network.c,v 1.28 2003/06/01 20:17:03 stpohle Exp $ */
|
|
|
|
|
/*
|
|
|
|
|
network routines.
|
|
|
|
|
*/
|
|
|
|
@ -765,7 +765,7 @@ net_new_game ()
|
|
|
|
|
bman.players[p].bombs_n = START_BOMBS;
|
|
|
|
|
bman.players[p].range = START_RANGE;
|
|
|
|
|
bman.players[p].speed = START_SPEED;
|
|
|
|
|
bman.players[p].special = SP_nothing;
|
|
|
|
|
bman.players[p].special.type = SP_nothing;
|
|
|
|
|
bman.updatestatusbar=1;
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < PI_max; i++) /* all types of illnes turn them off */
|
|
|
|
@ -802,5 +802,5 @@ net_game_send_special (int pl_nr, int ex_nr)
|
|
|
|
|
|
|
|
|
|
for (pl = 0; pl < MAX_PLAYERS; pl++)
|
|
|
|
|
if (PS_IS_netplayer (bman.players[pl].state) && pl != pl_nr && NET_CANSEND(pl))
|
|
|
|
|
send_special (&bman.players[pl].net.addr, pl_nr, bman.players[pl_nr].special, ex_nr);
|
|
|
|
|
send_special (&bman.players[pl].net.addr, pl_nr, bman.players[pl_nr].special.type, ex_nr);
|
|
|
|
|
};
|
|
|
|
|