]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/FGTileLoader.cxx
Don't scale elevator by 0.5.
[flightgear.git] / src / Scenery / FGTileLoader.cxx
index d229ed33cca6ea1f9d0524b295518304b68d8098..32cad6ead3f20b3e6aa3d5c6e7d2872bd3ddc06f 100644 (file)
@@ -92,14 +92,14 @@ FGTileLoader::add( FGTileEntry* tile )
     static bool beenhere = false;
     if (!beenhere)
     {
-        SGPath tmp;
        if ( !globals->get_fg_scenery().empty() ) {
-           tmp.set( globals->get_fg_scenery() );
+            tile_path = globals->get_fg_scenery();
        } else {
+            SGPath tmp;
            tmp.set( globals->get_fg_root() );
             tmp.append( "Scenery" );
+            tile_path = tmp.str();
        }
-        tile_path = tmp.str();
        beenhere = true;
     }