1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Merge pull request #1622 from krs0/feature/CArchiveLoaderparam_extractArchives_ismaskedbytypo#1619

CArchiveLoader param "extractArchives" is masked by typo #1619
This commit is contained in:
Ivan Savenko 2023-03-01 21:15:35 +02:00 committed by GitHub
commit d55ac50e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,10 +24,10 @@ ArchiveEntry::ArchiveEntry()
}
CArchiveLoader::CArchiveLoader(std::string _mountPoint, bfs::path _archive, bool extractArchives) :
CArchiveLoader::CArchiveLoader(std::string _mountPoint, bfs::path _archive, bool _extractArchives) :
archive(std::move(_archive)),
mountPoint(std::move(_mountPoint)),
extractArchives(extractArchives)
extractArchives(_extractArchives)
{
// Open archive file(.snd, .vid, .lod)
CFileInputStream fileStream(archive);