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

This commit is contained in:
truelight
2005-01-26 19:40:21 +00:00
parent 1d4de01a63
commit 65b55ffafe

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