From 4b77a7d3235267ec1adf3407e88fa073505d3220 Mon Sep 17 00:00:00 2001 From: MichaelHinrichs Date: Sun, 19 May 2024 15:32:37 -0500 Subject: [PATCH] change count from short to ushort --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 66794a1..309813a 100644 --- a/Program.cs +++ b/Program.cs @@ -10,7 +10,7 @@ namespace La_Tale_Extractor br = new BinaryReader(File.OpenRead(args[0])); br.BaseStream.Position = br.BaseStream.Length - 152; int table = br.ReadInt32() + br.ReadInt32(); - short count = br.ReadInt16(); + ushort count = br.ReadUInt16(); br.ReadInt32(); br.BaseStream.Position = table;