From 65b55ffafea844378b2025cdc2f4b9b01d236f34 Mon Sep 17 00:00:00 2001 From: truelight Date: Wed, 26 Jan 2005 19:40:21 +0000 Subject: [PATCH] (svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work --- network_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network_udp.c b/network_udp.c index 7a1f78f29c..4f2b942d30 100644 --- a/network_udp.c +++ b/network_udp.c @@ -171,9 +171,9 @@ DEF_UDP_RECEIVE_COMMAND(PACKET_UDP_CLIENT_DETAIL_INFO) /* Send 1 if there is a passord for the company else send 0 */ if (_network_player_info[player->index].password[0] != '\0') { - NetworkSend_uint8 (p, 1); + NetworkSend_uint8 (packet, 1); } else { - NetworkSend_uint8 (p, 0); + NetworkSend_uint8 (packet, 0); } for (i = 0; i < NETWORK_VEHICLE_TYPES; i++)