summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-20 20:55:21 +0000
committerrubidium <rubidium@openttd.org>2011-02-20 20:55:21 +0000
commitd594a219c60b0042d72a3071f7f5ea49291ef6af (patch)
tree78575bff8849316cee107d762feb999dc7176ccc /src/network
parente9fe58d7bf7876f41b3deb1fe1295bab8897ed98 (diff)
downloadopenttd-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.cpp3
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();
}