更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
ef374863ea
commit
8e880687cd
@ -1446,9 +1446,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
|||||||
PosMsg->jwhtext[1] = XDR_encode_float (pitch);
|
PosMsg->jwhtext[1] = XDR_encode_float (pitch);
|
||||||
PosMsg->jwhtext[2] = XDR_encode_float (roll);
|
PosMsg->jwhtext[2] = XDR_encode_float (roll);
|
||||||
|
|
||||||
SGPropertyNode* n = fgGetNode("/sim/instrumentation/gps/indicated-ground-speed-kt",true);
|
//SGPropertyNode* n = fgGetNode("/sim/instrumentation/gps/indicated-ground-speed-kt",true);
|
||||||
float speed = n->getDoubleValue();
|
//float speed = n->getDoubleValue();
|
||||||
PosMsg->jwhtext[3] = XDR_encode_float (speed);
|
//PosMsg->jwhtext[3] = XDR_encode_float (speed);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
n = fgGetNode("/sim/instrumentation/gps/indicated-vertical-speed");
|
n = fgGetNode("/sim/instrumentation/gps/indicated-vertical-speed");
|
||||||
|
Loading…
Reference in New Issue
Block a user