src/network/network_client.cpp
changeset 9346 bfd803297888
parent 9337 ab6e0234bacc
child 9354 845e07db4549
equal deleted inserted replaced
9345:498b7ff11b25 9346:bfd803297888
   619 			_switch_mode_errorstr = STR_NETWORK_ERR_SAVEGAMEERROR;
   619 			_switch_mode_errorstr = STR_NETWORK_ERR_SAVEGAMEERROR;
   620 			return NETWORK_RECV_STATUS_SAVEGAME;
   620 			return NETWORK_RECV_STATUS_SAVEGAME;
   621 		}
   621 		}
   622 		/* If the savegame has successfully loaded, ALL windows have been removed,
   622 		/* If the savegame has successfully loaded, ALL windows have been removed,
   623 		 * only toolbar/statusbar and gamefield are visible */
   623 		 * only toolbar/statusbar and gamefield are visible */
   624 
       
   625 		_opt_ptr = &_opt; // during a network game you are always in-game
       
   626 
   624 
   627 		// Say we received the map and loaded it correctly!
   625 		// Say we received the map and loaded it correctly!
   628 		SEND_COMMAND(PACKET_CLIENT_MAP_OK)();
   626 		SEND_COMMAND(PACKET_CLIENT_MAP_OK)();
   629 
   627 
   630 		/* New company/spectator (invalid player) or company we want to join is not active
   628 		/* New company/spectator (invalid player) or company we want to join is not active