mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written.
This commit is contained in:
parent
c6bf30ea7f
commit
9fd1a47819
1 changed files with 2 additions and 4 deletions
|
@ -229,10 +229,8 @@ CL_DemoFilename
|
|||
void CL_DemoFilename( int number, char *fileName ) {
|
||||
int a,b,c,d;
|
||||
|
||||
if ( number < 0 || number > 9999 ) {
|
||||
Com_sprintf( fileName, MAX_OSPATH, "demo9999.tga" );
|
||||
return;
|
||||
}
|
||||
if(number < 0 || number > 9999)
|
||||
number = 9999;
|
||||
|
||||
a = number / 1000;
|
||||
number -= a*1000;
|
||||
|
|
Loading…
Reference in a new issue