1
0
Fork 0

(svn r1689) -Fix: big typo in network_udp.c, the company-password flag didn't work

release/0.4.5
truelight 2005-01-26 19:40:21 +00:00
parent ecb954fd9d
commit f84607af52
1 changed files with 2 additions and 2 deletions

View File

@ -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++)