mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 09:22:42 +01:00
Cleanup: remove client side password checks when moving to a different company
This commit is contained in:
@@ -1249,10 +1249,8 @@ void NetworkClientSendRcon(const std::string &password, const std::string &comma
|
||||
/**
|
||||
* Notify the server of this client wanting to be moved to another company.
|
||||
* @param company_id id of the company the client wishes to be moved to.
|
||||
* @param pass the password, is only checked on the server end if a password is needed.
|
||||
* @return void
|
||||
*/
|
||||
void NetworkClientRequestMove(CompanyID company_id, [[maybe_unused]] const std::string &pass)
|
||||
void NetworkClientRequestMove(CompanyID company_id)
|
||||
{
|
||||
MyClient::SendMove(company_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user