(svn r25770) -Fix [Admin]: the frame of a command packet wasn't set for the packets that were sent via de admin interface

This commit is contained in:
rubidium 2013-09-14 11:34:09 +00:00
parent 541fe1775a
commit 7adc453473
1 changed files with 1 additions and 1 deletions

View File

@ -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;