From f1970ad129f81dfa3001e2402d72dd559b51e4a8 Mon Sep 17 00:00:00 2001 From: Kp Date: Thu, 26 Jun 2014 02:27:16 +0000 Subject: [PATCH] Unpack netplayer_info --- common/main/multi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/main/multi.h b/common/main/multi.h index 65615b9b4..a9ca2f0ce 100644 --- a/common/main/multi.h +++ b/common/main/multi.h @@ -454,7 +454,7 @@ void save_hoard_data(void); * Contains protocol-specific data with designated prefixes and general player-related data. * Note that not all of these infos will be sent to other users - some are used and/or set locally, only. */ -struct netplayer_info +struct netplayer_info : prohibit_void_ptr { #if defined(USE_UDP) union @@ -473,7 +473,7 @@ struct netplayer_info ubyte rank; fix ping; fix64 LastPacketTime; -} __pack__; +}; /* * The Network Game structure