X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Flightmaps_ydnar.c;fp=tools%2Fquake3%2Fq3map2%2Flightmaps_ydnar.c;h=70e59b2f36e148da80b9e57161ebde8380e01d19;hb=d2a4050578c2dcb741e5fe70b335e538b058c2e1;hp=37bb6da4fc5c394048ed002089a21ec9b4493982;hpb=5c8399a34c0ef000f30e70e9a996bd0cc3ff24fa;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/lightmaps_ydnar.c b/tools/quake3/q3map2/lightmaps_ydnar.c index 37bb6da4..70e59b2f 100644 --- a/tools/quake3/q3map2/lightmaps_ydnar.c +++ b/tools/quake3/q3map2/lightmaps_ydnar.c @@ -3355,7 +3355,8 @@ void StoreSurfaceLightmaps( qboolean fastAllocate, qboolean storeForReal ){ olm = &outLightmaps[ lm->outLightmapNums[ lightmapNum ] ]; /* lightmap name */ - if ( lm->outLightmapNums[ lightmapNum ] == lm->outLightmapNums[ 0 ] ) { + if ( !externalLightmapNames + && lm->outLightmapNums[ lightmapNum ] == lm->outLightmapNums[ 0 ] ) { strcpy( lightmapName, "$lightmap" ); } else{