diff --git a/src/configuration.c b/src/configuration.c index 0f31692..3092984 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -53,7 +53,6 @@ game_init (int argc, char **argv) map.size.x = 25; map.size.y = 17; sprintf (bman.datapath, PACKAGE_DATA_DIR); - printf ("DataPath: %s\n", bman.datapath); map.map[0] = 0; map.map_selection = 2; map.type = -1; diff --git a/src/game.c b/src/game.c index 94f054c..bc39c47 100644 --- a/src/game.c +++ b/src/game.c @@ -1,4 +1,4 @@ -/* $Id: game.c,v 1.53 2003/08/29 23:50:39 stpohle Exp $ +/* $Id: game.c,v 1.54 2003/09/12 18:10:36 stpohle Exp $ game.c - procedures for the game. */ #include @@ -103,7 +103,7 @@ game_draw_info () font_drawbold ((gfx.res.x - strlen ("HURRY HURRY")*font[1].size.x)/2, 32, "HURRY HURRY", 1, 2); font_setcolor (255,128, 128,1); font_draw ((gfx.res.x - strlen ("HURRY HURRY")*font[1].size.x)/2, 32, "HURRY HURRY", 1); - } + } } if (chat.visible == 0 && GT_MP_PTP) @@ -287,6 +287,8 @@ game_start () menu_displaytext ("Loading..", "Please Wait", 32, 128, 32); + bman.players_nr_s = 0; + for (p = 0; p < MAX_PLAYERS; p++) { if (PS_IS_used (bman.players[p].state)) { bman.players_nr_s++; diff --git a/src/gamesrv.c b/src/gamesrv.c index 1e0f457..2ba041f 100644 --- a/src/gamesrv.c +++ b/src/gamesrv.c @@ -520,7 +520,7 @@ gamesrv_sendmode (int maxplayer, int curplayers) char host[LEN_SERVERNAME]; char port[LEN_PORT]; - d_printf ("** Notify GameMaster Server\n"); + d_printf ("** Notify GameMaster Server %d/%d\n", curplayers, maxplayer); sprintf (data, "AV%s\n", VERSION); sprintf (data, "%sP%d,%d\n", data, curplayers, maxplayer); diff --git a/src/network.c b/src/network.c index 510cf94..37ec2e8 100644 --- a/src/network.c +++ b/src/network.c @@ -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. */ @@ -485,7 +485,7 @@ net_transmit_gamedata () } else if (y < map.size.y && y != bman.players[bman.p_nr].net.net_status && y >= 0 && timestamp - downtimestamp > DOWNLOAD_TIMEOUT) { - /* we have got no field data */ + /* getdata timed out - we have got no field data */ 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 */ gamesrv_sendmode (bman.maxplayer, bman.players_nr_s); - };