utils: mdldec: smd.c: add leading zero to number in sequence filenames.
This commit is contained in:
parent
9d032e953f
commit
a19fb82d66
|
@ -525,7 +525,7 @@ static void WriteSequences( void )
|
|||
if( seqdesc->numblends == 1 )
|
||||
len = Q_snprintf( filename, MAX_SYSPATH, "%s%s.smd", destdir, seqdesc->label );
|
||||
else
|
||||
len = Q_snprintf( filename, MAX_SYSPATH, "%s%s_blend%i.smd", destdir, seqdesc->label, j + 1 );
|
||||
len = Q_snprintf( filename, MAX_SYSPATH, "%s%s_blend%02i.smd", destdir, seqdesc->label, j + 1 );
|
||||
|
||||
if( len == -1 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue