[DatFile] Remove cloneable, use constructor instead

This commit is contained in:
Matt Nadareski
2016-11-08 16:04:26 -08:00
parent 50d0a40ae3
commit 5ef4cb0efd
5 changed files with 55 additions and 46 deletions

View File

@@ -511,7 +511,7 @@ namespace SabreTools.Helper.Dats
}
// Setup the fixdat
DatFile matched = (DatFile)Clone();
DatFile matched = new DatFile(this);
matched.Reset();
matched.FileName = "fixDat_" + matched.FileName;
matched.Name = "fixDat_" + matched.Name;