From b009022799ee5f2a4a24281176497b91c6ca78a6 Mon Sep 17 00:00:00 2001 From: stpohle Date: Thu, 23 Sep 2004 13:12:15 +0000 Subject: [PATCH] udp_send:: Invalid argument, error fixed. net_delplayer_send had a problem with the local second player --- src/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index 276744e..894ac71 100644 --- a/src/network.c +++ b/src/network.c @@ -1,4 +1,4 @@ -/* $Id: network.c,v 1.64 2004/09/12 20:54:24 stpohle Exp $ */ +/* $Id: network.c,v 1.65 2004/09/23 13:12:15 stpohle Exp $ */ /* network routines. */ @@ -708,7 +708,7 @@ net_game_send_delplayer (int pl_nr) { if (GT_MP_PTPM && (GS_WAITRUNNING || bman.state == GS_update)) { for (i = 0; i < MAX_PLAYERS; i++) - if (NET_CANSEND(i) || pl_nr == i) + if (NET_CANSEND(i)) send_quit (&players[i].net.addr, pl_nr); if (bman.notifygamemaster) send_ogc_update ();