1
0
Fork 0

Don't make SG_SCENERY into an SGPath before splitting, to avoid

normalizing ':' to '/'.
This commit is contained in:
david 2003-10-01 22:38:53 +00:00
parent ac5a894711
commit 65177d27f5

View 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;
}