]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/convert_map.c
.ase also works from .map!
[xonotic/netradiant.git] / tools / quake3 / q3map2 / convert_map.c
index 69418854eef79ffbea9017183e8faa1e66792d35..0f37665d672aef5ba8136d2d23bed45416db7c02 100644 (file)
@@ -493,7 +493,10 @@ static void ConvertBrush( FILE *f, int num, bspBrush_t *brush, vec3_t origin, qb
                        if(strncmp(buildSide->shaderInfo->shader, "textures/common/", 16))
                        if(strcmp(buildSide->shaderInfo->shader, "noshader"))
                        if(strcmp(buildSide->shaderInfo->shader, "default"))
+                       {
                                fprintf(stderr, "no matching triangle for brushside using %s (hopefully nobody can see this side anyway)\n", buildSide->shaderInfo->shader);
+                               texture = "common/WTF";
+                       }
 
                        MakeNormalVectors( buildPlane->normal, vecs[ 0 ], vecs[ 1 ] );
                        VectorMA( vec3_origin, buildPlane->dist, buildPlane->normal, pts[ 0 ] );