forked from mirror/openmw-tes3mp
fix for older versions of unshield
This commit is contained in:
parent
8d232aca35
commit
7f0f9037be
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ bool UnshieldThread::extract_file(Unshield* unshield, bfs::path output_dir, cons
|
|||
void UnshieldThread::extract_cab(const bfs::path& cab, const bfs::path& output_dir, bool extract_ini)
|
||||
{
|
||||
Unshield * unshield;
|
||||
unshield = unshield_open_force_version(cab.c_str(), -1);
|
||||
unshield = unshield_open(cab.c_str());
|
||||
|
||||
int i;
|
||||
for (i = 0; i < unshield_file_group_count(unshield); i++)
|
||||
|
|
Loading…
Reference in a new issue