mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 10:09:41 +00:00
Merge branch 'FIX_COMPRESSED_BSA_LOAD' into 'master'
Fixes compressed BSA loading Closes #6847 See merge request OpenMW/openmw!2075
This commit is contained in:
commit
3ba39f977b
1 changed files with 2 additions and 3 deletions
|
@ -307,9 +307,8 @@ CompressedBSAFile::FileRecord CompressedBSAFile::getFileRecord(const std::string
|
|||
std::filesystem::path p(path);
|
||||
std::string stem = p.stem().string();
|
||||
std::string ext = p.extension().string();
|
||||
p.remove_filename();
|
||||
|
||||
std::string folder = p.string();
|
||||
|
||||
std::string folder = p.parent_path().string();
|
||||
std::uint64_t folderHash = generateHash(folder, std::string());
|
||||
|
||||
auto it = mFolders.find(folderHash);
|
||||
|
|
Loading…
Reference in a new issue