From 6a19060d2c48a07ad4dcdcbd56b1fed26c567a4b Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 16 Jul 2004 20:02:36 +0000 Subject: [PATCH] Fix an indexing problem. --- src/Main/globals.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index b2b862fba..73adb93ea 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -129,7 +129,7 @@ void FGGlobals::set_fg_scenery (const string &scenery) { 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) continue; ulCloseDir( d );