diff options
author | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-04 16:59:41 +0000 |
commit | ac7757324ee2130f3c487f0323dbb23f9553806b (patch) | |
tree | 0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/network | |
parent | b6e6be58da699065621085715445f2d6502cf27a (diff) | |
download | openttd-ac7757324ee2130f3c487f0323dbb23f9553806b.tar.xz |
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_client.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 52cc42e8f..78e026b79 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -846,10 +846,6 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_MOVE) if (client_id == _network_own_client_id) { _network_playas = company_id; SetLocalCompany(company_id); - - /* Disable any buttons in any windows the client is now not supposed to get to, and do it fast. */ - /* Do this ASAP else the client has a chance of sending DoCommands with an incorrect company_id (=kick)! */ - MarkWholeScreenDirty(); } return NETWORK_RECV_STATUS_OKAY; |