]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/AircraftDirVisitorBase.hxx
Update image-server logic.
[flightgear.git] / src / Main / AircraftDirVisitorBase.hxx
index 1096a788d3adb5c3e2f701be439957c7d8cd3c38..78e7c90b8eabd3385533974db9164342efdc4d3f 100644 (file)
@@ -47,14 +47,6 @@ protected:
         string_list::const_iterator it = paths.begin();
         for (; it != paths.end(); ++it) {
             SGPath p(*it);
-        // additional aircraft-paths are supposed to specify the directory
-        // containing the 'Aircraft' dir (same structure as fg-root, so cross-
-        // aircraft resource paths can be resolved correctly). Some users omit
-        // this, so check for both.
-            p.append("Aircraft");
-            if (!p.exists())
-                p = SGPath(*it);
-            
             VisitResult vr = visitDir(p, 0);
             if (vr != VISIT_CONTINUE) {
                 return vr;