mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r7818) -Fix (r7751): wrote some data to the wrong network packet.
This commit is contained in:
parent
2ebf16e95d
commit
525118c7b3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user