From 8e880687cd82f3bbc89ef9f85aeb297a5e13b84c Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 7 Nov 2022 14:55:15 +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 534d411..51cca2d 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -1446,9 +1446,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo) PosMsg->jwhtext[1] = XDR_encode_float (pitch); PosMsg->jwhtext[2] = XDR_encode_float (roll); - SGPropertyNode* n = fgGetNode("/sim/instrumentation/gps/indicated-ground-speed-kt",true); - float speed = n->getDoubleValue(); - PosMsg->jwhtext[3] = XDR_encode_float (speed); + //SGPropertyNode* n = fgGetNode("/sim/instrumentation/gps/indicated-ground-speed-kt",true); + //float speed = n->getDoubleValue(); + //PosMsg->jwhtext[3] = XDR_encode_float (speed); /* n = fgGetNode("/sim/instrumentation/gps/indicated-vertical-speed");