|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: network.c,v 1.23 2003/05/13 22:48:32 stpohle Exp $ */
|
|
|
|
|
/* $Id: network.c,v 1.24 2003/05/15 04:56:15 stpohle Exp $ */
|
|
|
|
|
/*
|
|
|
|
|
network routines.
|
|
|
|
|
*/
|
|
|
|
@ -782,9 +782,11 @@ net_new_game ()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* send special use elements into the network */
|
|
|
|
|
/* send special use elements into the network,
|
|
|
|
|
to make sure nothing bad happens with explosions
|
|
|
|
|
we send the ex_nr number too */
|
|
|
|
|
void
|
|
|
|
|
net_game_send_special (int pl_nr)
|
|
|
|
|
net_game_send_special (int pl_nr, int ex_nr)
|
|
|
|
|
{
|
|
|
|
|
int pl;
|
|
|
|
|
|
|
|
|
@ -795,5 +797,5 @@ net_game_send_special (int pl_nr)
|
|
|
|
|
|
|
|
|
|
for (pl = 0; pl < MAX_PLAYERS; pl++)
|
|
|
|
|
if (PS_IS_netplayer (bman.players[pl].state) && pl != pl_nr)
|
|
|
|
|
send_special (&bman.players[pl].net.addr, pl_nr, bman.players[pl_nr].special);
|
|
|
|
|
send_special (&bman.players[pl].net.addr, pl_nr, bman.players[pl_nr].special, ex_nr);
|
|
|
|
|
};
|
|
|
|
|