Browse Source

utils: mdldec: qc.c: always put $flags keyword with value.

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

5
utils/mdldec/qc.c

@ -610,13 +610,8 @@ void WriteQCScript( void )
if( !model_hdr->numtextures ) if( !model_hdr->numtextures )
fputs( "$externaltextures\n", fp ); fputs( "$externaltextures\n", fp );
if( model_hdr->flags != 0 )
{
fprintf( fp, "$flags %i\n", model_hdr->flags ); fprintf( fp, "$flags %i\n", model_hdr->flags );
printf( "WARNING: This model uses the $flags keyword set to %i\n", model_hdr->flags );
}
fputs( "\n", fp ); fputs( "\n", fp );
fprintf( fp, "$bbox %f %f %f", model_hdr->min[0], model_hdr->min[1], model_hdr->min[2] ); fprintf( fp, "$bbox %f %f %f", model_hdr->min[0], model_hdr->min[1], model_hdr->min[2] );

Loading…
Cancel
Save