]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel_io.cxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / Cockpit / panel_io.cxx
index 88fe30c4a9d5c07aa9721d654a613301f6241fcd..28435e20fdd5320d512ddaf6daa4c6a0307085b5 100644 (file)
@@ -132,12 +132,12 @@ readTexture (const SGPropertyNode * node)
 ////////////////////////////////////////////////////////////////////////
 
 static void
-readConditions (FGConditional * component, const SGPropertyNode * node)
+readConditions (SGConditional *component, const SGPropertyNode *node)
 {
   const SGPropertyNode * conditionNode = node->getChild("condition");
   if (conditionNode != 0)
                                // The top level is implicitly AND
-    component->setCondition(fgReadCondition(globals->get_props(),
+    component->setCondition(sgReadCondition(globals->get_props(),
                                             conditionNode) );
 }