summaryrefslogtreecommitdiff
path: root/src
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
commit525118c7b3dd64b6bf5bca361e44e211f6bb521f (patch)
treed168ecff24b80605c1468c0e68e616458e5820d1 /src
parent2ebf16e95df4864aef01d796ba3eb06a16f93879 (diff)
downloadopenttd-525118c7b3dd64b6bf5bca361e44e211f6bb521f.tar.xz
(svn r7818) -Fix (r7751): wrote some data to the wrong network packet.
Diffstat (limited to 'src')
-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);