1
0
Fork 0

Fix a bug with old-style binary scenery compatibilty where no ground lighting

was generated.
This commit is contained in:
curt 2001-07-08 23:38:56 +00:00
parent 6116accf6a
commit 82f9528927

View file

@ -540,10 +540,7 @@ FGTileEntry::load( const SGPath& base, bool is_base )
} else {
// no .stg file so this must be old scenery
// fgObjLoad will generate ground lighting for us ...
ssgVertexArray *light_pts = new ssgVertexArray( 100 );
new_tile = obj_load( basename.str(), light_pts, is_base );
new_tile = obj_load( basename.str(), light_pts, true );
// load custom objects
SG_LOG( SG_TERRAIN, SG_DEBUG, "Checking for custom objects ..." );