From 0c786f6002380ea8fe8ecc459962d91844965a24 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 21 Jul 2007 19:02:47 +0000 Subject: fixed nasty error in the network --- src/engine/client/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/client') diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index adac193d..56a7f5d9 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -147,6 +147,8 @@ int client_send_msg() { const msg_info *info = msg_get_info(); NETPACKET packet; + mem_zero(&packet, sizeof(NETPACKET)); + packet.client_id = 0; packet.data = info->data; packet.data_size = info->size; -- cgit 1.4.1