summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_udp.c b/network_udp.c
index 7a1f78f29..4f2b942d3 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++)