更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
6d33c1f2c3
commit
aa66c3c71d
@ -1439,8 +1439,8 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
|||||||
//zhongjin
|
//zhongjin
|
||||||
|
|
||||||
std::string mAirportid = fgGetString("/instrumentation/comm/airport-id");
|
std::string mAirportid = fgGetString("/instrumentation/comm/airport-id");
|
||||||
strncpy(MsgHdr->airport, mAirportid.c_str(), 4);
|
strncpy(PosMsg->airport, mAirportid.c_str(), 4);
|
||||||
MsgHdr->airport[4 - 1] = '\0';
|
PosMsg->airport[4 - 1] = '\0';
|
||||||
|
|
||||||
|
|
||||||
float heading = ifce.get_Psi();
|
float heading = ifce.get_Psi();
|
||||||
|
Loading…
Reference in New Issue
Block a user