summaryrefslogtreecommitdiff
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
commitf84607af52fed55977f7edb7015a8bbc585bb300 (patch)
treeb6265111821abb75be61baf9c70f63d6dacdbfaa
parentecb954fd9db59ab04f68c49dfac659150913aaa6 (diff)
downloadopenttd-f84607af52fed55977f7edb7015a8bbc585bb300.tar.xz
(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work
-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++)