diff --git a/src/game.c b/src/game.c index 697b48e..b8a3af3 100644 --- a/src/game.c +++ b/src/game.c @@ -1,4 +1,4 @@ -/* $Id: game.c,v 1.66 2003/12/28 20:11:46 stpohle Exp $ +/* $Id: game.c,v 1.67 2004/01/04 01:28:34 stpohle Exp $ game.c - procedures for the game. */ #include @@ -260,6 +260,9 @@ game_loop () d_gamedetail ("GAME END"); d_printf ("done = %d\n", done); + draw_logo (); + gfx_blitupdaterectclear (); + SDL_Flip (gfx.screen); }; diff --git a/src/multiwait.c b/src/multiwait.c index 8d82c4d..193b463 100644 --- a/src/multiwait.c +++ b/src/multiwait.c @@ -358,6 +358,7 @@ wait_for_players () players[bman.p_nr].gfx_nr = -1; net_change_playerid (bman.p_nr, 1); bman.updatestatusbar = 1; + keypressed = 1; } if ((GT_MP_PTPM) && ready && keys[SDLK_F4] && (!keypressed)) { diff --git a/src/netmenu.c b/src/netmenu.c index 8dc9450..9f155bf 100644 --- a/src/netmenu.c +++ b/src/netmenu.c @@ -158,13 +158,13 @@ void multiplayer_game () { wait_for_players (); if (bman.p_nr != -1 && (GS_WAITRUNNING || bman.state == GS_update)) { - bman.state = GS_update; net_new_game (); game_start (); if (GT_MP_PTPM) { net_send_mapinfo (); // maybe we have to make a break net_send_servermode (); // between mapinfo and servermode } + bman.state = GS_update; net_transmit_gamedata (); if (bman.state == GS_ready || bman.state == GS_running) { diff --git a/src/network.c b/src/network.c index 381c427..86fb7f8 100644 --- a/src/network.c +++ b/src/network.c @@ -1,4 +1,4 @@ -/* $Id: network.c,v 1.50 2004/01/03 02:12:34 stpohle Exp $ */ +/* $Id: network.c,v 1.51 2004/01/04 01:28:34 stpohle Exp $ */ /* network routines. */ @@ -363,7 +363,7 @@ net_transmit_gamedata () int done = 0, keypressed = 0, x, - y, + y, // network upload status for one step p, i, net_istep; // network init step @@ -397,7 +397,7 @@ net_transmit_gamedata () net_istep = 0; else net_istep = 3; - + while (!done && bman.state == GS_update) { /* the network thing */ @@ -648,6 +648,8 @@ net_delplayer (int pl_nr) if (GT_MP_PTPM && bman.notifygamemaster) send_ogc_update (); + + d_playerdetail (" Player Left ... Playerlist\n"); };