From: onox Date: Thu, 28 May 2015 21:40:58 +0000 (+0200) Subject: submodel: Rename yaw and pitch to heading-deg and pitch-deg X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8024a0a4ca500e81ec2983377398e88d44ce0014;p=flightgear.git submodel: Rename yaw and pitch to heading-deg and pitch-deg Signed-off-by: onox --- diff --git a/src/AIModel/submodel.cxx b/src/AIModel/submodel.cxx index 95e766988..206792a12 100644 --- a/src/AIModel/submodel.cxx +++ b/src/AIModel/submodel.cxx @@ -547,10 +547,10 @@ void FGSubmodelMgr::setData(int id, const string& path, bool serviceable, const b = a->getNode("z-m"); sm->z_offset = new FGXMLAutopilot::InputValue(*prop_root, b ? *b : n); - b = a->getNode("yaw"); + b = a->getNode("heading-deg"); sm->yaw_offset = new FGXMLAutopilot::InputValue(*prop_root, b ? *b : n); - b = a->getNode("pitch"); + b = a->getNode("pitch-deg"); sm->pitch_offset = new FGXMLAutopilot::InputValue(*prop_root, b ? *b : n); } else {