(svn r7818) -Fix (r7751): wrote some data to the wrong network packet.

This commit is contained in:
rubidium 2007-01-04 02:18:04 +00:00
parent 2ebf16e95d
commit 525118c7b3

View File

@ -50,7 +50,7 @@ DEF_UDP_RECEIVE_COMMAND(PACKET_UDP_CLIENT_FIND_SERVER)
_network_game_info.spectators_on = NetworkSpectatorCount(); _network_game_info.spectators_on = NetworkSpectatorCount();
_network_game_info.grfconfig = _grfconfig; _network_game_info.grfconfig = _grfconfig;
NetworkSend_NetworkGameInfo(p, &_network_game_info); NetworkSend_NetworkGameInfo(packet, &_network_game_info);
// Let the client know that we are here // Let the client know that we are here
NetworkSendUDP_Packet(_udp_server_socket, packet, client_addr); NetworkSendUDP_Packet(_udp_server_socket, packet, client_addr);