utils: mdldec: smd.c: add leading zero to number in sequence filenames.

This commit is contained in:
Andrey Akhmichin 2023-10-16 02:32:23 +05:00 committed by Alibek Omarov
parent 9d032e953f
commit a19fb82d66
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
{