summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-04 02:18:04 +0000
committerrubidium <rubidium@openttd.org>2007-01-04 02:18:04 +0000
commit6edd50e7224529976fd1e19c11b546fd322aaf16 (patch)
treed168ecff24b80605c1468c0e68e616458e5820d1
parentf0705977b3e6888a609e82c919821044ad3160cf (diff)
downloadopenttd-6edd50e7224529976fd1e19c11b546fd322aaf16.tar.xz
(svn r7818) -Fix (r7751): wrote some data to the wrong network packet.
-rw-r--r--src/network/network_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_udp.c b/src/network/network_udp.c
index aeef75e77..2ecf0c04d 100644
--- a/src/network/network_udp.c
+++ b/src/network/network_udp.c
@@ -50,7 +50,7 @@ DEF_UDP_RECEIVE_COMMAND(PACKET_UDP_CLIENT_FIND_SERVER)
_network_game_info.spectators_on = NetworkSpectatorCount();
_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
NetworkSendUDP_Packet(_udp_server_socket, packet, client_addr);