(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work
authortruelight
Wed, 26 Jan 2005 19:40:21 +0000
changeset 1186 7b36d3daa39a
parent 1185 08d48bad089c
child 1187 4ee23281d3a5
(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work
network_udp.c
--- a/network_udp.c	Wed Jan 26 19:03:01 2005 +0000
+++ b/network_udp.c	Wed Jan 26 19:40:21 2005 +0000
@@ -171,9 +171,9 @@
 
                 /* 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++)