Shpoike 2021-11-06 15:35:03 +00:00
parent d7ef1bf3dd
commit 4dc8db95ac

View file

@ -2088,7 +2088,7 @@ static int COM_FindFile (const char *filename, int *handle, FILE **file,
{ /* if not a registered version, don't ever go beyond base */
if ( strchr (filename, '/') || strchr (filename,'\\'))
continue;
if (q_strcasecmp(COM_FileGetExtension(filename), "dat")) //don't load custom progs.dats either
if (!q_strcasecmp(COM_FileGetExtension(filename), "dat")) //don't load custom progs.dats either
continue;
}