更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
@@ -1455,28 +1455,28 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
||||
float xxx = n->getDoubleValue();
|
||||
PosMsg->jwhtext[3] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-vertical-speed");
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-vertical-speed",true);
|
||||
PosMsg->jwhtext[4] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/airspeed-indicator/indicated-speed-kt"); //指示空速
|
||||
xxx = fgGetDouble("/instrumentation/airspeed-indicator/indicated-speed-kt",true); //指示空速
|
||||
PosMsg->jwhtext[5] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/airspeed-indicator/true-speed-kt"); //真空速
|
||||
xxx = fgGetDouble("/instrumentation/airspeed-indicator/true-speed-kt",true); //真空速
|
||||
PosMsg->jwhtext[6] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-longitude-deg");
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-longitude-deg",true);
|
||||
PosMsg->jwhtext[7] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-latitude-deg");
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-latitude-deg",true);
|
||||
PosMsg->jwhtext[8] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-altitude-ft");
|
||||
xxx = fgGetDouble("/instrumentation/gps/indicated-altitude-ft",true);
|
||||
PosMsg->jwhtext[9] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/comm/frequencies/selected-mhz"); //守护频点
|
||||
xxx = fgGetDouble("/instrumentation/comm/frequencies/selected-mhz",true); //守护频点
|
||||
PosMsg->jwhtext[10] = XDR_encode_float (xxx);
|
||||
|
||||
xxx = fgGetDouble("/instrumentation/transponder/id-code");
|
||||
xxx = fgGetDouble("/instrumentation/transponder/id-code",true);
|
||||
PosMsg->jwhtext[11] = XDR_encode_float (xxx);
|
||||
|
||||
//n = fgGetNode("");
|
||||
|
||||
Reference in New Issue
Block a user