Browse Source

utils: mdldec: qc.c: put every texture name to separate line.

pull/2/head
Andrey Akhmichin 1 year ago committed by Alibek Omarov
parent
commit
877ed8a92a
  1. 6
      utils/mdldec/qc.c

6
utils/mdldec/qc.c

@ -263,7 +263,7 @@ static void WriteSkinFamilyInfo( FILE *fp )
for( i = 0; i < texture_hdr->numskinfamilies; ++i ) for( i = 0; i < texture_hdr->numskinfamilies; ++i )
{ {
fputs( "\t{", fp ); fputs( "\t{\n", fp );
for( j = 0; j < texture_hdr->numskinref; ++j ) for( j = 0; j < texture_hdr->numskinref; ++j )
{ {
@ -276,12 +276,12 @@ static void WriteSkinFamilyInfo( FILE *fp )
texture = (mstudiotexture_t *)( (byte *)texture_hdr + texture_hdr->textureindex ) + index; texture = (mstudiotexture_t *)( (byte *)texture_hdr + texture_hdr->textureindex ) + index;
fprintf( fp, " \"%s\" ", texture->name ); fprintf( fp, "\t\t\"%s\"\n", texture->name );
break; break;
} }
} }
fputs( "}\n", fp ); fputs( "\t}\n", fp );
} }
fputs( "}\n\n", fp ); fputs( "}\n\n", fp );

Loading…
Cancel
Save