diff --git a/engine/common/con_utils.c b/engine/common/con_utils.c index e09fae3c..c90d10b1 100644 --- a/engine/common/con_utils.c +++ b/engine/common/con_utils.c @@ -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 );