Changeset - r17365:565ae23af76e
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2011-02-20 20:55:21
rubidium@openttd.org
(svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network_command.cpp
Show inline comments
 
@@ -218,16 +218,17 @@ void NetworkExecuteLocalCommandQueue()
 

	
 
	/* Local company may have changed, so we should not restore the old value */
 
	_current_company = _local_company;
 
}
 

	
 
/**
 
 * Free the local command queue.
 
 * Free the local command queues.
 
 */
 
void NetworkFreeLocalCommandQueue()
 
{
 
	_local_wait_queue.Free();
 
	_local_execution_queue.Free();
 
}
 

	
 
/**
 
 * "Send" a particular CommandPacket to all clients.
 
 * @param cp    The command that has to be distributed.
0 comments (0 inline, 0 general)