summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-04-27 20:50:49 +0000
committerpeter1138 <peter1138@openttd.org>2007-04-27 20:50:49 +0000
commitb02623901a25c35f65c6976f8c658b30f80106a8 (patch)
tree1dd97f6b72b67afa79b72ce42ce01d2b6f229ff8 /src
parent6b37ea7b47d19c6d0e6eb7ad264d5234fccdb969 (diff)
downloadopenttd-b02623901a25c35f65c6976f8c658b30f80106a8.tar.xz
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
Diffstat (limited to 'src')
-rw-r--r--src/network/network_server.cpp2
1 files changed, 1 insertions, 1 deletions
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]);