mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
Unlinker: Fix not attempting to load files from manually specified search paths
This commit is contained in:
parent
c2b28a54be
commit
b210661ac8
@ -231,7 +231,7 @@ class Unlinker::Impl
|
||||
return false;
|
||||
}
|
||||
|
||||
SearchPathFilesystem* searchPath = new SearchPathFilesystem(absolutePath);
|
||||
auto* searchPath = new SearchPathFilesystem(absolutePath);
|
||||
LoadSearchPath(searchPath);
|
||||
m_search_paths.CommitSearchPath(searchPath);
|
||||
|
||||
@ -401,6 +401,7 @@ public:
|
||||
std::string absoluteZoneDirectory = absolute(std::filesystem::path(zonePath).remove_filename()).string();
|
||||
|
||||
SearchPaths searchPathsForZone = GetSearchPathsForZone(absoluteZoneDirectory);
|
||||
searchPathsForZone.IncludeSearchPath(&m_search_paths);
|
||||
|
||||
Zone* zone = ZoneLoading::LoadZone(zonePath);
|
||||
if (zone == nullptr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user