From 82f9528927726b892a7c48ece91cd79d90c8b63f Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 8 Jul 2001 23:38:56 +0000 Subject: [PATCH] Fix a bug with old-style binary scenery compatibilty where no ground lighting was generated. --- src/Scenery/tileentry.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index 404ee80c1..3a9720eb1 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -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 ..." ); -- 2.39.5