Codechange: [Network] Let NetworkClientInfo use std::string

This commit is contained in:
rubidium42
2021-05-15 08:31:45 +02:00
committed by rubidium42
parent 83679c0e57
commit 4d246cda73
6 changed files with 27 additions and 30 deletions

View File

@@ -844,7 +844,7 @@ static void NetworkInitGameInfo()
NetworkClientInfo *ci = new NetworkClientInfo(CLIENT_ID_SERVER);
ci->client_playas = _network_dedicated ? COMPANY_SPECTATOR : COMPANY_FIRST;
strecpy(ci->client_name, _settings_client.network.client_name.c_str(), lastof(ci->client_name));
ci->client_name = _settings_client.network.client_name;
}
/**