summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index 6cf96c9f5..7ba26041c 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -235,7 +235,7 @@ void NetworkFreeLocalCommandQueue()
* @param cp The command that has to be distributed.
* @param owner The client that owns the command,
*/
-static void DistributeCommandPacket(CommandPacket cp, const NetworkClientSocket *owner)
+static void DistributeCommandPacket(CommandPacket &cp, const NetworkClientSocket *owner)
{
CommandCallback *callback = cp.callback;
cp.frame = _frame_counter_max + 1;