diff --git a/src/packets.c b/src/packets.c index e6c4c1e..0819766 100644 --- a/src/packets.c +++ b/src/packets.c @@ -185,12 +185,9 @@ do_joingame (struct pkg_joingame *p_jg, _net_addr * addr) bman.players_nr_s++; /* send to the new client the servermode and the complete playerlist */ - printf ("ADDR: %p\n", addr); if ((!p_jg->secondplayer) && !(players[j].net.flags & NETF_local2)) send_mapinfo (addr); - printf ("ADDR: %p\n", addr); send_servermode (addr, i); // with this packet the client know it'S pl_nr - printf ("ADDR: %p\n", addr); addr->pl_nr = i; } @@ -839,7 +836,7 @@ do_playerdata (struct pkg_playerdata *p_dat, _net_addr * addr) if (p_dat->p_nr < 0 || p_dat->p_nr >= MAX_PLAYERS) return; - printf ("do_playerdata (From: %d) p_nr: %d --> state alife? %d new %d\n", addr->pl_nr, p_dat->p_nr, PS_IS_alife(players[p_dat->p_nr].state) , PS_IS_alife(p_dat->state)); + d_printf ("do_playerdata (From: %d) p_nr: %d --> state alife? %d new %d\n", addr->pl_nr, p_dat->p_nr, PS_IS_alife(players[p_dat->p_nr].state) , PS_IS_alife(p_dat->state)); bman.updatestatusbar = 1; // force an update pl = &players[p_dat->p_nr];