MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / NetworkFreeLocalCommandQueue

Function NetworkFreeLocalCommandQueue

src/network/network_command.cpp:290–294  ·  view source on GitHub ↗

* Free the local command queues. */

Source from the content-addressed store, hash-verified

288 * Free the local command queues.
289 */
290void NetworkFreeLocalCommandQueue()
291{
292 _local_wait_queue.clear();
293 _local_execution_queue.clear();
294}
295
296/**
297 * "Send" a particular CommandPacket to all clients.

Callers 1

NetworkCloseFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected