更新 'src/MultiPlayer/multiplaymgr.cxx'

This commit is contained in:
zhongjin 2022-11-07 14:55:15 +08:00
parent ef374863ea
commit 8e880687cd

View File

@ -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");