更新 'src/MultiPlayer/multiplaymgr.cxx'

next
zhongjin 2 years ago
parent 37ed7f6024
commit 1ed2656787

@ -1437,9 +1437,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
//zhongjin //zhongjin
// for (unsigned i = 0 ; i < 3; ++i) // for (unsigned i = 0 ; i < 3; ++i)
// PosMsg->angularAccel[i] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel); // PosMsg->angularAccel[i] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel);
PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel); PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(0) * timeAccel * timeAccel);
PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel); PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(1) * timeAccel * timeAccel);
PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel); PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(2) * timeAccel * timeAccel);
} }

Loading…
Cancel
Save