video/dedicated_v.c
changeset 4848 56549aa3e234
parent 4599 acdc5cac5b93
child 4891 74c29446124e
equal deleted inserted replaced
4847:bd9e07155a34 4848:56549aa3e234
   236 #endif
   236 #endif
   237 
   237 
   238 	// Load the dedicated server stuff
   238 	// Load the dedicated server stuff
   239 	_is_network_server = true;
   239 	_is_network_server = true;
   240 	_network_dedicated = true;
   240 	_network_dedicated = true;
   241 	_network_playas = OWNER_SPECTATOR;
   241 	_network_playas = PLAYER_SPECTATOR;
   242 	_local_player = OWNER_SPECTATOR;
   242 	_local_player = PLAYER_SPECTATOR;
   243 
   243 
   244 	/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
   244 	/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
   245 	if (_switch_mode != SM_LOAD) {
   245 	if (_switch_mode != SM_LOAD) {
   246 		StartNewGameWithoutGUI(GENERATE_NEW_SEED);
   246 		StartNewGameWithoutGUI(GENERATE_NEW_SEED);
   247 		SwitchMode(_switch_mode);
   247 		SwitchMode(_switch_mode);