]> git.mxchange.org Git - flightgear.git/commitdiff
submodel: Rename yaw and pitch to heading-deg and pitch-deg
authoronox <denkpadje@gmail.com>
Thu, 28 May 2015 21:40:58 +0000 (23:40 +0200)
committerErik Hofman <erik@ehofman.com>
Fri, 29 May 2015 12:28:04 +0000 (14:28 +0200)
Signed-off-by: onox <denkpadje@gmail.com>
src/AIModel/submodel.cxx

index 95e7669889dc1900c1d9721cebaf0902bc8f3ecf..206792a126b912d9df01d1e0971d2524770c10da 100644 (file)
@@ -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 {