network_client.c
changeset 4326 c2ae4dbc1074
parent 4261 2ec8f5a9747b
child 4428 0b0ee542d5b6
equal deleted inserted replaced
4325:6564f3c88b84 4326:c2ae4dbc1074
   298 		current = NetworkRecv_uint8(MY_CLIENT, p);
   298 		current = NetworkRecv_uint8(MY_CLIENT, p);
   299 		if (current >= MAX_PLAYERS)
   299 		if (current >= MAX_PLAYERS)
   300 			return NETWORK_RECV_STATUS_CLOSE_QUERY;
   300 			return NETWORK_RECV_STATUS_CLOSE_QUERY;
   301 
   301 
   302 		NetworkRecv_string(MY_CLIENT, p, _network_player_info[current].company_name, sizeof(_network_player_info[current].company_name));
   302 		NetworkRecv_string(MY_CLIENT, p, _network_player_info[current].company_name, sizeof(_network_player_info[current].company_name));
   303 		_network_player_info[current].inaugurated_year = NetworkRecv_uint8(MY_CLIENT, p);
   303 		_network_player_info[current].inaugurated_year = NetworkRecv_uint32(MY_CLIENT, p);
   304 		_network_player_info[current].company_value = NetworkRecv_uint64(MY_CLIENT, p);
   304 		_network_player_info[current].company_value = NetworkRecv_uint64(MY_CLIENT, p);
   305 		_network_player_info[current].money = NetworkRecv_uint64(MY_CLIENT, p);
   305 		_network_player_info[current].money = NetworkRecv_uint64(MY_CLIENT, p);
   306 		_network_player_info[current].income = NetworkRecv_uint64(MY_CLIENT, p);
   306 		_network_player_info[current].income = NetworkRecv_uint64(MY_CLIENT, p);
   307 		_network_player_info[current].performance = NetworkRecv_uint16(MY_CLIENT, p);
   307 		_network_player_info[current].performance = NetworkRecv_uint16(MY_CLIENT, p);
   308 		_network_player_info[current].use_password = NetworkRecv_uint8(MY_CLIENT, p);
   308 		_network_player_info[current].use_password = NetworkRecv_uint8(MY_CLIENT, p);