Fix an indexing problem.
This commit is contained in:
parent
6076c83904
commit
6a19060d2c
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void FGGlobals::set_fg_scenery (const string &scenery) {
|
||||||
|
|
||||||
for (unsigned i = 0; i < path_list.size(); i++) {
|
for (unsigned i = 0; i < path_list.size(); i++) {
|
||||||
|
|
||||||
ulDir *d = ulOpenDir( path_list[0].c_str() );
|
ulDir *d = ulOpenDir( path_list[i].c_str() );
|
||||||
if (d == NULL)
|
if (d == NULL)
|
||||||
continue;
|
continue;
|
||||||
ulCloseDir( d );
|
ulCloseDir( d );
|
||||||
|
|
Loading…
Reference in a new issue