mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-19 13:41:11 +00:00
(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 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;
|
||||
|
Loading…
Reference in New Issue
Block a user