diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index f34aeeb..2fcaedd 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -1441,9 +1441,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo) float pitch = ifce.get_Theta(); float roll = ifce.get_Phi(); - PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(0) * timeAccel * timeAccel); - PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(1) * timeAccel * timeAccel); - PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(2) * timeAccel * timeAccel); + PosMsg->angularAccel[0] = XDR_encode_float (heading); + PosMsg->angularAccel[1] = XDR_encode_float (pitch); + PosMsg->angularAccel[2] = XDR_encode_float (roll); }