]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a typo that could cause a crash on some platforms.
authorcurt <curt>
Sat, 7 Sep 2002 14:15:10 +0000 (14:15 +0000)
committercurt <curt>
Sat, 7 Sep 2002 14:15:10 +0000 (14:15 +0000)
src/Objects/obj.cxx

index 946eb7e4c9da848ebc4f6dfcec595e533058981a..0ecf55d759661254a0ad7b9669cd2698bf46bfea 100644 (file)
@@ -1408,7 +1408,7 @@ bool fgBinObjLoad( const string& path, const bool is_base,
         tex_index.clear();
         ssgLeaf *leaf = gen_leaf( path, GL_POINTS, material,
                                   nodes, normals, texcoords,
-                                  pts_v[i], pts_v[i], tex_index,
+                                  pts_v[i], pts_n[i], tex_index,
                                   false, ground_lights );
 
         if ( is_lighting ) {