diff options
author | rubidium <rubidium@openttd.org> | 2013-09-14 11:34:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-09-14 11:34:09 +0000 |
commit | 7adc4534733120527b9c4e2b9c3841deb4b99b96 (patch) | |
tree | bf9a3485d562660520c4556b50062cdaf695541b | |
parent | 541fe1775afe65b69d1829361f809e4d08a12957 (diff) | |
download | openttd-7adc4534733120527b9c4e2b9c3841deb4b99b96.tar.xz |
(svn r25770) -Fix [Admin]: the frame of a command packet wasn't set for the packets that were sent via de admin interface
-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 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; |