summaryrefslogtreecommitdiff
path: root/network_udp.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-26 19:40:21 +0000
committertruelight <truelight@openttd.org>2005-01-26 19:40:21 +0000
commit65b55ffafea844378b2025cdc2f4b9b01d236f34 (patch)
treeb6265111821abb75be61baf9c70f63d6dacdbfaa /network_udp.c
parent1d4de01a63d89ddc24016da3862707e52604b8da (diff)
downloadopenttd-65b55ffafea844378b2025cdc2f4b9b01d236f34.tar.xz
(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work
Diffstat (limited to 'network_udp.c')
-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++)