|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: network.c,v 1.41 2003/08/27 21:14:50 stpohle Exp $ */
|
|
|
|
/* $Id: network.c,v 1.42 2003/09/12 18:10:36 stpohle Exp $ */
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
network routines.
|
|
|
|
network routines.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -485,7 +485,7 @@ net_transmit_gamedata ()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (y < map.size.y && y != bman.players[bman.p_nr].net.net_status
|
|
|
|
else if (y < map.size.y && y != bman.players[bman.p_nr].net.net_status
|
|
|
|
&& y >= 0 && timestamp - downtimestamp > DOWNLOAD_TIMEOUT) {
|
|
|
|
&& y >= 0 && timestamp - downtimestamp > DOWNLOAD_TIMEOUT) {
|
|
|
|
/* we have got no field data */
|
|
|
|
/* getdata timed out - we have got no field data */
|
|
|
|
y--;
|
|
|
|
y--;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (y == map.size.y - 1 && bman.players[bman.p_nr].net.net_status == y) {
|
|
|
|
else if (y == map.size.y - 1 && bman.players[bman.p_nr].net.net_status == y) {
|
|
|
@ -712,7 +712,6 @@ net_send_servermode ()
|
|
|
|
|
|
|
|
|
|
|
|
if (GT_MP_PTPM && bman.notifygamemaster) /* send notification the the gamemaster */
|
|
|
|
if (GT_MP_PTPM && bman.notifygamemaster) /* send notification the the gamemaster */
|
|
|
|
gamesrv_sendmode (bman.maxplayer, bman.players_nr_s);
|
|
|
|
gamesrv_sendmode (bman.maxplayer, bman.players_nr_s);
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|