From: Rudolf Polzer Date: Tue, 5 Oct 2010 16:50:24 +0000 (+0200) Subject: YEAH! I think this fixes the lightmaps-of-patches bug! X-Git-Tag: xonotic-v0.5.0~195 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=18c11bf55e1d27ac33e304500d1e6817baba9571;p=xonotic%2Fnetradiant.git YEAH! I think this fixes the lightmaps-of-patches bug! --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index e1762234..24fa17a4 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -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 */