mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
541fe1775a
commit
7adc453473
|
@ -235,7 +235,7 @@ void NetworkFreeLocalCommandQueue()
|
||||||
* @param cp The command that has to be distributed.
|
* @param cp The command that has to be distributed.
|
||||||
* @param owner The client that owns the command,
|
* @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;
|
CommandCallback *callback = cp.callback;
|
||||||
cp.frame = _frame_counter_max + 1;
|
cp.frame = _frame_counter_max + 1;
|
||||||
|
|
Loading…
Reference in New Issue