]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
YEAH! I think this fixes the lightmaps-of-patches bug!
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 16:50:24 +0000 (18:50 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Oct 2010 16:50:24 +0000 (18:50 +0200)
tools/quake3/q3map2/light_ydnar.c

index e1762234393efe247e92d3e94103e0811ec6a7ce..24fa17a411c7a24c2900cdf52745473a98539962 100644 (file)
@@ -1157,6 +1157,8 @@ void MapRawLightmap( int rawLightmapNum )
                                                for( mapNonAxial = 0; mapNonAxial < 2; mapNonAxial++ )
                                                {
                                                        /* get drawverts and map first triangle */
+                                                       dv[ 1 ] = &verts[ pw[ r + 1 ] ];
+                                                       dv[ 2 ] = &verts[ pw[ r + 2 ] ];
                                                        MapTriangle( lm, info, dv, mapNonAxial );
                                                        
                                                        /* get drawverts and map second triangle */