diff options
author | Rubidium <rubidium@openttd.org> | 2021-06-16 21:12:08 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-17 16:18:30 +0200 |
commit | f904aef176b7bde38f27cc9b4f23c55dc13d2ce5 (patch) | |
tree | 2ea8cfd92faf9786275824cf1a5c5be927283601 /src/network/network_command.cpp | |
parent | a9774f3e341812d43427b9e0166b0def08202477 (diff) | |
download | openttd-f904aef176b7bde38f27cc9b4f23c55dc13d2ce5.tar.xz |
Cleanup: use nullptr instead of 0 or NULL
Diffstat (limited to 'src/network/network_command.cpp')
-rw-r--r-- | src/network/network_command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index 1a9849a34..6d03aaaa1 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.cpp @@ -179,7 +179,7 @@ void NetworkSyncCommandQueue(NetworkClientSocket *cs) { for (CommandPacket *p = _local_execution_queue.Peek(); p != nullptr; p = p->next) { CommandPacket c = *p; - c.callback = 0; + c.callback = nullptr; cs->outgoing_queue.Append(&c); } } |