mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move to MergingFlag
This commit is contained in:
@@ -2382,14 +2382,14 @@ namespace SabreTools.Library.DatFiles
|
||||
outDir = DirectoryExtensions.Ensure(outDir, create: true);
|
||||
|
||||
// Now we want to get forcepack flag if it's not overridden
|
||||
if (outputFormat == OutputFormat.Folder && Header.ForcePacking != ForcePacking.None)
|
||||
if (outputFormat == OutputFormat.Folder && Header.ForcePacking != PackingFlag.None)
|
||||
{
|
||||
switch (Header.ForcePacking)
|
||||
{
|
||||
case ForcePacking.Zip:
|
||||
case PackingFlag.Zip:
|
||||
outputFormat = OutputFormat.TorrentZip;
|
||||
break;
|
||||
case ForcePacking.Unzip:
|
||||
case PackingFlag.Unzip:
|
||||
outputFormat = OutputFormat.Folder;
|
||||
break;
|
||||
}
|
||||
@@ -2569,14 +2569,14 @@ namespace SabreTools.Library.DatFiles
|
||||
}
|
||||
|
||||
// Now we want to get forcepack flag if it's not overridden
|
||||
if (outputFormat == OutputFormat.Folder && Header.ForcePacking != ForcePacking.None)
|
||||
if (outputFormat == OutputFormat.Folder && Header.ForcePacking != PackingFlag.None)
|
||||
{
|
||||
switch (Header.ForcePacking)
|
||||
{
|
||||
case ForcePacking.Zip:
|
||||
case PackingFlag.Zip:
|
||||
outputFormat = OutputFormat.TorrentZip;
|
||||
break;
|
||||
case ForcePacking.Unzip:
|
||||
case PackingFlag.Unzip:
|
||||
outputFormat = OutputFormat.Folder;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user