mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
engine: use substring search for mpfilter
This commit is contained in:
parent
ad4062969b
commit
43f1137565
@ -876,7 +876,7 @@ qboolean Cmd_CheckMapsList_R( qboolean fRefresh, qboolean onlyingamedir )
|
||||
if( Q_stricmp( COM_FileExtension( t->filenames[i] ), "bsp" ))
|
||||
continue;
|
||||
|
||||
if( use_filter && !Q_strnicmp( t->filenames[i], mpfilter, size))
|
||||
if( use_filter && !Q_stristr( t->filenames[i], mpfilter ))
|
||||
continue;
|
||||
|
||||
f = FS_Open( t->filenames[i], "rb", onlyingamedir );
|
||||
|
Loading…
Reference in New Issue
Block a user