Windows uses ';' instead of ':' as a path separator.
This commit is contained in:
parent
86a24bc9e8
commit
1bdcbd69f3
1 changed files with 6 additions and 1 deletions
|
@ -98,7 +98,12 @@ FGTileLoader::add( FGTileEntry* tile )
|
||||||
} else {
|
} else {
|
||||||
SGPath tmp;
|
SGPath tmp;
|
||||||
tmp.set( globals->get_fg_root() );
|
tmp.set( globals->get_fg_root() );
|
||||||
tmp.append( "Scenery/Terrain:" );
|
tmp.append( "Scenery/Terrain" );
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
tmp.append( ";");
|
||||||
|
#else
|
||||||
|
tmp.append( ":");
|
||||||
|
#endif
|
||||||
tmp.append(globals->get_fg_root() );
|
tmp.append(globals->get_fg_root() );
|
||||||
tmp.append( "Scenery/Objects" );
|
tmp.append( "Scenery/Objects" );
|
||||||
tile_path = tmp.str();
|
tile_path = tmp.str();
|
||||||
|
|
Loading…
Add table
Reference in a new issue