Don't make SG_SCENERY into an SGPath before splitting, to avoid
normalizing ':' to '/'.
This commit is contained in:
parent
ac5a894711
commit
65177d27f5
1 changed files with 3 additions and 3 deletions
|
@ -92,14 +92,14 @@ FGTileLoader::add( FGTileEntry* tile )
|
||||||
static bool beenhere = false;
|
static bool beenhere = false;
|
||||||
if (!beenhere)
|
if (!beenhere)
|
||||||
{
|
{
|
||||||
SGPath tmp;
|
|
||||||
if ( !globals->get_fg_scenery().empty() ) {
|
if ( !globals->get_fg_scenery().empty() ) {
|
||||||
tmp.set( globals->get_fg_scenery() );
|
tile_path = globals->get_fg_scenery();
|
||||||
} else {
|
} else {
|
||||||
|
SGPath tmp;
|
||||||
tmp.set( globals->get_fg_root() );
|
tmp.set( globals->get_fg_root() );
|
||||||
tmp.append( "Scenery" );
|
tmp.append( "Scenery" );
|
||||||
}
|
|
||||||
tile_path = tmp.str();
|
tile_path = tmp.str();
|
||||||
|
}
|
||||||
beenhere = true;
|
beenhere = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue