]> git.mxchange.org Git - flightgear.git/commitdiff
Adapt to simgears changes.
authorfrohlich <frohlich>
Fri, 22 May 2009 18:20:58 +0000 (18:20 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 2 Jun 2009 22:18:54 +0000 (00:18 +0200)
The season is already checked by the properties.

Modified Files:
src/Main/fg_init.cxx

src/Main/fg_init.cxx

index 607684dd693e3f66fa57e23d476c23c54017353f..b602efdf3b7ff645cf79a8c3b09fd2081fe052da 100644 (file)
@@ -1465,8 +1465,7 @@ bool fgInitSubsystems() {
 
     SGPath mpath( globals->get_fg_root() );
     mpath.append( "materials.xml" );
-    string season = fgGetString("/sim/startup/season", "summer");
-    if ( ! globals->get_matlib()->load(globals->get_fg_root(), mpath.str(), season.c_str(),
+    if ( ! globals->get_matlib()->load(globals->get_fg_root(), mpath.str(),
             globals->get_props()) ) {
         SG_LOG( SG_GENERAL, SG_ALERT, "Error loading material lib!" );
         exit(-1);