2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

filesystem: dir: exit from loop immediately if directory is caseinsensitive

This commit is contained in:
Alibek Omarov 2022-12-22 10:54:08 +03:00
parent 3d71e5d111
commit b36ebc294f

View File

@ -234,6 +234,7 @@ qboolean FS_FixFileCase( dir_t *dir, const char *path, char *dst, size_t len, qb
Con_Printf( "%s: overflow while searching %s (caseinsensitive entry)\n", __FUNCTION__, path );
return false;
}
break;
}
// populate cache if needed