diff options
author | peter1138 <peter1138@openttd.org> | 2007-04-27 20:50:49 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-04-27 20:50:49 +0000 |
commit | 87b731ead5dc22ce95300ceed9eeadf95b8ad6c4 (patch) | |
tree | 1dd97f6b72b67afa79b72ce42ce01d2b6f229ff8 | |
parent | 87b07694a5e74946798bf075728fa919237f0a07 (diff) | |
download | openttd-87b731ead5dc22ce95300ceed9eeadf95b8ad6c4.tar.xz |
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
-rw-r--r-- | src/network/network_server.cpp | 2 |
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]); |