From b02623901a25c35f65c6976f8c658b30f80106a8 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 27 Apr 2007 20:50:49 +0000 Subject: (svn r9727) -Fix (r8546): Company password field in network player info was inverted. --- src/network/network_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index dfcf8de86..b4910b362 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -101,7 +101,7 @@ DEF_SERVER_SEND_COMMAND(PACKET_SERVER_COMPANY_INFO) p->Send_uint16(_network_player_info[player->index].performance); /* Send 1 if there is a passord for the company else send 0 */ - p->Send_bool(StrEmpty(_network_player_info[player->index].password)); + p->Send_bool(!StrEmpty(_network_player_info[player->index].password)); for (i = 0; i < NETWORK_VEHICLE_TYPES; i++) { p->Send_uint16(_network_player_info[player->index].num_vehicle[i]); -- cgit v1.2.3-70-g09d2