更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
83fc580f6c
commit
37ed7f6024
@ -729,7 +729,11 @@ namespace
|
||||
{
|
||||
bool verifyProperties(const xdr_data_t* data, const xdr_data_t* end)
|
||||
{
|
||||
|
||||
//zhongjin
|
||||
using namespace simgear;
|
||||
FlightProperties ifce;
|
||||
|
||||
const xdr_data_t* xdr = data;
|
||||
while (xdr < end) {
|
||||
unsigned id = XDR_decode_uint32(*xdr);
|
||||
@ -1345,6 +1349,8 @@ FGMultiplayMgr::isSane(const FGExternalMotionData& motionInfo)
|
||||
void
|
||||
FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
||||
{
|
||||
using namespace simgear;
|
||||
|
||||
int protocolToUse = getProtocolToUse();
|
||||
int transmitFilterPropertyBase = pMultiPlayTransmitPropertyBase->getIntValue();
|
||||
if ((! mInitialised) || (! mHaveServer))
|
||||
|
Loading…
Reference in New Issue
Block a user