mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-20 05:58:33 +00:00
(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work
This commit is contained in:
parent
ecb954fd9d
commit
f84607af52
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user