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