From d89b280132d27c149b3fd738bc27476bdb58fb3e Mon Sep 17 00:00:00 2001 From: stpohle Date: Mon, 14 Aug 2006 22:44:26 +0000 Subject: [PATCH] debug messages cleaned --- src/packets.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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];