mirror of https://github.com/OpenTTD/OpenTTD
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
parent
a82118f360
commit
c9609bbbc2
|
@ -163,7 +163,7 @@ const char *NetworkChangeCompanyPassword(const char *password)
|
||||||
if (strcmp(password, "*") == 0) password = "";
|
if (strcmp(password, "*") == 0) password = "";
|
||||||
|
|
||||||
if (!_network_server) {
|
if (!_network_server) {
|
||||||
NetworkClientSetPassword(password);
|
NetworkClientSetCompanyPassword(password);
|
||||||
} else {
|
} else {
|
||||||
HashCurrentCompanyPassword(password);
|
HashCurrentCompanyPassword(password);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1178,7 +1178,7 @@ void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const
|
||||||
MyClient::SendChat(action, type, dest, msg, data);
|
MyClient::SendChat(action, type, dest, msg, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetworkClientSetPassword(const char *password)
|
void NetworkClientSetCompanyPassword(const char *password)
|
||||||
{
|
{
|
||||||
MyClient::SendSetPassword(password);
|
MyClient::SendSetPassword(password);
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@ public:
|
||||||
typedef ClientNetworkGameSocketHandler MyClient;
|
typedef ClientNetworkGameSocketHandler MyClient;
|
||||||
|
|
||||||
void NetworkClient_Connected();
|
void NetworkClient_Connected();
|
||||||
void NetworkClientSetPassword(const char *password);
|
void NetworkClientSetCompanyPassword(const char *password);
|
||||||
|
|
||||||
extern CompanyID _network_join_as;
|
extern CompanyID _network_join_as;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue