diff options
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |