diff --git a/src/xrCore/LocatorAPI.cpp b/src/xrCore/LocatorAPI.cpp index bfb0b1133e1..05bb4c4d2f0 100644 --- a/src/xrCore/LocatorAPI.cpp +++ b/src/xrCore/LocatorAPI.cpp @@ -551,6 +551,11 @@ bool CLocatorAPI::Recurse (const char* path) { string_path scanPath; xr_strcpy(scanPath, sizeof(scanPath), path); + xr_strcat(scanPath, ".xrignore"); + struct stat buffer; + if (!stat(scanPath, &buffer)) + return true; + xr_strcpy(scanPath, sizeof(scanPath), path); xr_strcat(scanPath, "*.*"); _finddata_t findData; intptr_t handle = _findfirst(scanPath, &findData);