From 9e53f1e004bf8e65f268b8854a6eb08229e3f2ed Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 5 Jun 2010 13:32:42 +0000 Subject: (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. --- src/video/dedicated_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video/dedicated_v.cpp') 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) { -- cgit v1.2.3-54-g00ecf