]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3data/models.c
reduce more diff noise
[xonotic/netradiant.git] / tools / quake3 / q3data / models.c
index 65fde8580109fbc4e1e5da89aad48f7e095267ee..b7492628ff5c80cbcf26a26644906c5c9aa318a3 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+   Copyright (C) 1999-2007 id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
@@ -559,7 +559,6 @@ static void CopyTrianglesToBaseTriangles( triangle_t *ptri, int numtri, baseTria
 //     float           s_scale, t_scale;
 //     float           scale;
 //     vec3_t          mins, maxs;
-       float       *pbasevert;
 
 /*
     //
@@ -618,8 +617,6 @@ static void CopyTrianglesToBaseTriangles( triangle_t *ptri, int numtri, baseTria
 
                for ( j = 0 ; j < 3 ; j++ )
                {
-                       pbasevert = ptri->verts[j];
-
                        VectorCopy( ptri->verts[j], bTri->v[j].xyz );
                        VectorCopy( ptri->normals[j], bTri->v[j].normal );
 
@@ -1905,8 +1902,9 @@ static void ConvertASE( const char *filename, int type, qboolean grabAnims ){
                        }
                }
 
-               if ( !tagWeapon ) {
-                       Error( "Missing tag_weapon!" );
+               if ( !tagHead ) {
+                       // todo: was never being checked; should we error now that it is?
+                       // Error( "Missing tag_head!" );
                }
                if ( !tagTorso ) {
                        Error( "Missing tag_torso!" );