(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game.

This commit is contained in:
rubidium 2009-02-20 00:03:29 +00:00
parent ef67e59145
commit c5677da94d
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ static void NetworkClose()
_networking = false;
_network_server = false;
NetworkFreeLocalCommandQueue();
free(_network_company_states);
_network_company_states = NULL;