equal
deleted
inserted
replaced
365 |
365 |
366 // There is no data at all.. |
366 // There is no data at all.. |
367 if (total == 0) return NETWORK_RECV_STATUS_CLOSE_QUERY; |
367 if (total == 0) return NETWORK_RECV_STATUS_CLOSE_QUERY; |
368 |
368 |
369 current = (Owner)p->Recv_uint8(); |
369 current = (Owner)p->Recv_uint8(); |
370 if (!IsValidPlayerID(current)) return NETWORK_RECV_STATUS_CLOSE_QUERY; |
370 if (current >= MAX_PLAYERS) return NETWORK_RECV_STATUS_CLOSE_QUERY; |
371 |
371 |
372 p->Recv_string(_network_player_info[current].company_name, sizeof(_network_player_info[current].company_name)); |
372 p->Recv_string(_network_player_info[current].company_name, sizeof(_network_player_info[current].company_name)); |
373 _network_player_info[current].inaugurated_year = p->Recv_uint32(); |
373 _network_player_info[current].inaugurated_year = p->Recv_uint32(); |
374 _network_player_info[current].company_value = p->Recv_uint64(); |
374 _network_player_info[current].company_value = p->Recv_uint64(); |
375 _network_player_info[current].money = p->Recv_uint64(); |
375 _network_player_info[current].money = p->Recv_uint64(); |