engine: client: touch: fix inverted file extension check
This commit is contained in:
parent
9f77b7dc46
commit
4dec1785ed
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ static void Touch_AddButton_f( void )
|
|||
// to let imagelib choose better format
|
||||
//
|
||||
// Remove this when old engine migration would be done
|
||||
if( Q_stricmp( COM_FileExtension( texture ), "tga" ))
|
||||
if( !Q_stricmp( COM_FileExtension( texture ), "tga" ))
|
||||
COM_StripExtension( texture );
|
||||
|
||||
if( Cmd_Argc( ) >= 8 )
|
||||
|
|
Loading…
Add table
Reference in a new issue