diff options
author | frosch <frosch@openttd.org> | 2010-06-05 13:32:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-06-05 13:32:42 +0000 |
commit | 9e53f1e004bf8e65f268b8854a6eb08229e3f2ed (patch) | |
tree | fa373b8ec4b6089ac9c1e51f168d44434df8c238 /src/video | |
parent | e852bf154f2af40b3cee1f67bef41a78c2056de5 (diff) | |
download | openttd-9e53f1e004bf8e65f268b8854a6eb08229e3f2ed.tar.xz |
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/dedicated_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index 37797f7e4..2ce43f4c1 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -263,7 +263,7 @@ void VideoDriver_Dedicated::MainLoop() /* Load the dedicated server stuff */ _is_network_server = true; _network_dedicated = true; - _local_company = COMPANY_SPECTATOR; + _current_company = _local_company = COMPANY_SPECTATOR; /* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */ if (_switch_mode != SM_LOAD) { |