diff options
author | rubidium <rubidium@openttd.org> | 2011-02-20 20:55:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-20 20:55:21 +0000 |
commit | d594a219c60b0042d72a3071f7f5ea49291ef6af (patch) | |
tree | 78575bff8849316cee107d762feb999dc7176ccc /src/network | |
parent | e9fe58d7bf7876f41b3deb1fe1295bab8897ed98 (diff) | |
download | openttd-d594a219c60b0042d72a3071f7f5ea49291ef6af.tar.xz |
(svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_command.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index d678fcfdf..8e1fa077b 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.cpp @@ -221,10 +221,11 @@ void NetworkExecuteLocalCommandQueue() } /** - * Free the local command queue. + * Free the local command queues. */ void NetworkFreeLocalCommandQueue() { + _local_wait_queue.Free(); _local_execution_queue.Free(); } |