From 0382bacdb4b1b48946d036b6b9bff2188c16548c Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 7 Nov 2022 15:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/MultiPlayer/mpmessage?= =?UTF-8?q?s.hxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MultiPlayer/mpmessages.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MultiPlayer/mpmessages.hxx b/src/MultiPlayer/mpmessages.hxx index c1382af..e1883d6 100644 --- a/src/MultiPlayer/mpmessages.hxx +++ b/src/MultiPlayer/mpmessages.hxx @@ -109,7 +109,10 @@ struct T_PositionMsg { // the earth centered frame xdr_data_t angularAccel[3]; //zhongjin add - xdr_data_t jwhtext[4]; + + char airport[4] + + xdr_data_t jwhtext[10]; // Padding. The alignment is 8 bytes on x86_64 because there are // 8-byte types in the message, so the size should be explicitly