From d594a219c60b0042d72a3071f7f5ea49291ef6af Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 20 Feb 2011 20:55:21 +0000 Subject: [PATCH] (svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started --- src/network/network_command.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index d678fcfdf6..8e1fa077b5 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(); }