1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Extend logging with signs and track modifications

This commit is contained in:
Michał Janiszewski
2017-01-13 21:12:30 +01:00
parent 8bb15a70de
commit 43114b105c
6 changed files with 62 additions and 10 deletions

View File

@@ -1337,6 +1337,9 @@ void Network::AddClient(ITcpSocket * socket)
{
auto connection = std::unique_ptr<NetworkConnection>(new NetworkConnection); // change to make_unique in c++14
connection->Socket = socket;
char addr[128];
snprintf(addr, sizeof(addr), "Client joined from %s", socket->GetHostName());
AppendServerLog(addr);
client_connection_list.push_back(std::move(connection));
}