diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-29 16:16:51 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-29 19:02:18 +0200 |
commit | ef991b1772f5f8b4874f76ea715a9a95811ad979 (patch) | |
tree | 1eec8f86826d2865bceb31612843dba05f237d86 /src/network/network_gui.cpp | |
parent | 2e136285e1dfb4435c11769bf7cabb1ec2057e08 (diff) | |
download | openttd-ef991b1772f5f8b4874f76ea715a9a95811ad979.tar.xz |
Codechange: [Network] Use std::string in CommandPacket
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index d06ff27be..322e128cf 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1825,7 +1825,7 @@ private: if (_network_server) { DoCommandP(0, CCA_NEW, _network_own_client_id, CMD_COMPANY_CTRL); } else { - NetworkSendCommand(0, CCA_NEW, 0, CMD_COMPANY_CTRL, nullptr, nullptr, _local_company); + NetworkSendCommand(0, CCA_NEW, 0, CMD_COMPANY_CTRL, nullptr, {}, _local_company); } } |