mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(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:
parent
ef67e59145
commit
c5677da94d
@ -619,6 +619,8 @@ static void NetworkClose()
|
||||
_networking = false;
|
||||
_network_server = false;
|
||||
|
||||
NetworkFreeLocalCommandQueue();
|
||||
|
||||
free(_network_company_states);
|
||||
_network_company_states = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user