]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel_io.cxx
Attempt #1 to sort out confusion between left / right / parking brake
[flightgear.git] / src / Cockpit / panel_io.cxx
index 88fe30c4a9d5c07aa9721d654a613301f6241fcd..e24aafc62b8744c987520ea750721735754e4615 100644 (file)
@@ -29,8 +29,7 @@
 #include <string.h>            // for strcmp()
 
 #include <simgear/compiler.h>
-#include <simgear/misc/exception.hxx>
-
+#include <simgear/structure/exception.hxx>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
@@ -132,12 +131,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) );
 }