mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: touch: fix inverted file extension check
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user