更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
6009cc455f
commit
ef374863ea
@ -1446,7 +1446,7 @@ 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",false);
|
||||
SGPropertyNode* n = fgGetNode("/sim/instrumentation/gps/indicated-ground-speed-kt",true);
|
||||
float speed = n->getDoubleValue();
|
||||
PosMsg->jwhtext[3] = XDR_encode_float (speed);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user