From 19094adcff46d1b9be41618e86fc03f07ff934ec Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 6 Nov 2022 17:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/MultiPlayer/multiplay?= =?UTF-8?q?mgr.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MultiPlayer/multiplaymgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index f34aeeb..2fcaedd 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -1441,9 +1441,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo) float pitch = ifce.get_Theta(); float roll = ifce.get_Phi(); - PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(0) * timeAccel * timeAccel); - PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(1) * timeAccel * timeAccel); - PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(2) * timeAccel * timeAccel); + PosMsg->angularAccel[0] = XDR_encode_float (heading); + PosMsg->angularAccel[1] = XDR_encode_float (pitch); + PosMsg->angularAccel[2] = XDR_encode_float (roll); }