Mercurial > hg > openttd
changeset 17114:175826e70c28 draft
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 19 Jan 2011 16:32:23 +0000 |
parents | 8df0d60df814 |
children | 0b87f5699faa |
files | src/network/network.cpp src/network/network_client.cpp src/network/network_client.h |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -163,7 +163,7 @@ if (strcmp(password, "*") == 0) password = ""; if (!_network_server) { - NetworkClientSetPassword(password); + NetworkClientSetCompanyPassword(password); } else { HashCurrentCompanyPassword(password); }
--- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -1178,7 +1178,7 @@ MyClient::SendChat(action, type, dest, msg, data); } -void NetworkClientSetPassword(const char *password) +void NetworkClientSetCompanyPassword(const char *password) { MyClient::SendSetPassword(password); }
--- a/src/network/network_client.h +++ b/src/network/network_client.h @@ -108,7 +108,7 @@ typedef ClientNetworkGameSocketHandler MyClient; void NetworkClient_Connected(); -void NetworkClientSetPassword(const char *password); +void NetworkClientSetCompanyPassword(const char *password); extern CompanyID _network_join_as;