1
0
Fork 0

Adapt to simgears changes.

The season is already checked by the properties.

Modified Files:
	src/Main/fg_init.cxx
This commit is contained in:
frohlich 2009-05-22 18:20:58 +00:00 committed by Tim Moore
parent cef9eb3d73
commit 28996902a1

View 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);