X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAutopilot%2Froute_mgr.cxx;h=e8c5674c3213605a19f57ed730878c63812b16c4;hb=11d15b451347674fba77648700d23c5aaec3c6c2;hp=3b93f06864cefe0216df3a9f843e8063e8809719;hpb=095c710c0e0bbbbcc3e6e29e547cf5cc31aa94c2;p=flightgear.git diff --git a/src/Autopilot/route_mgr.cxx b/src/Autopilot/route_mgr.cxx index 3b93f0686..e8c5674c3 100644 --- a/src/Autopilot/route_mgr.cxx +++ b/src/Autopilot/route_mgr.cxx @@ -353,7 +353,7 @@ void FGRouteMgr::update_mirror() { bool FGRouteMgr::near_ground() { SGPropertyNode *gear = fgGetNode( "/gear/gear/wow", false ); - if ( !gear || gear->getType() == SGPropertyNode::NONE ) + if ( !gear || gear->getType() == simgear::props::NONE ) return fgGetBool( "/sim/presets/onground", true ); if ( fgGetDouble("/position/altitude-agl-ft", 300.0)