summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-19 16:32:23 +0000
committerrubidium <rubidium@openttd.org>2011-01-19 16:32:23 +0000
commitc9609bbbc2d6b7b2d24869ac0076ad3d4f43ff3f (patch)
treebd4fac3c449d434c1ef5b231e78ae41766045f01 /src
parenta82118f36070c45199a1498fb59541a65637f86c (diff)
downloadopenttd-c9609bbbc2d6b7b2d24869ac0076ad3d4f43ff3f.tar.xz
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
Diffstat (limited to 'src')
-rw-r--r--src/network/network.cpp2
-rw-r--r--src/network/network_client.cpp2
-rw-r--r--src/network/network_client.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 78f065e20..80b285235 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -163,7 +163,7 @@ const char *NetworkChangeCompanyPassword(const char *password)
if (strcmp(password, "*") == 0) password = "";
if (!_network_server) {
- NetworkClientSetPassword(password);
+ NetworkClientSetCompanyPassword(password);
} else {
HashCurrentCompanyPassword(password);
}
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index 0a369dc93..4b14ac3af 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -1178,7 +1178,7 @@ void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const
MyClient::SendChat(action, type, dest, msg, data);
}
-void NetworkClientSetPassword(const char *password)
+void NetworkClientSetCompanyPassword(const char *password)
{
MyClient::SendSetPassword(password);
}
diff --git a/src/network/network_client.h b/src/network/network_client.h
index 235fb085e..096544156 100644
--- a/src/network/network_client.h
+++ b/src/network/network_client.h
@@ -108,7 +108,7 @@ public:
typedef ClientNetworkGameSocketHandler MyClient;
void NetworkClient_Connected();
-void NetworkClientSetPassword(const char *password);
+void NetworkClientSetCompanyPassword(const char *password);
extern CompanyID _network_join_as;