src/video/dedicated_v.cpp
changeset 10207 c291a21b304e
parent 10201 4c181fbe8f2a
child 10208 72c00af5c95d
equal deleted inserted replaced
10206:0050610c0368 10207:c291a21b304e
   258 #endif
   258 #endif
   259 
   259 
   260 	// Load the dedicated server stuff
   260 	// Load the dedicated server stuff
   261 	_is_network_server = true;
   261 	_is_network_server = true;
   262 	_network_dedicated = true;
   262 	_network_dedicated = true;
   263 	_network_playas = PLAYER_SPECTATOR;
   263 	_network_playas = COMPANY_SPECTATOR;
   264 	_local_player = PLAYER_SPECTATOR;
   264 	_local_company = COMPANY_SPECTATOR;
   265 
   265 
   266 	/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
   266 	/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
   267 	if (_switch_mode != SM_LOAD) {
   267 	if (_switch_mode != SM_LOAD) {
   268 		StartNewGameWithoutGUI(GENERATE_NEW_SEED);
   268 		StartNewGameWithoutGUI(GENERATE_NEW_SEED);
   269 		SwitchMode(_switch_mode);
   269 		SwitchMode(_switch_mode);