diff --git a/AssetStudio/TypeTreeHelper.cs b/AssetStudio/TypeTreeHelper.cs index a3c5e32..c8cbc50 100644 --- a/AssetStudio/TypeTreeHelper.cs +++ b/AssetStudio/TypeTreeHelper.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Text; @@ -190,9 +191,11 @@ namespace AssetStudio value = reader.ReadSByte(); break; case "UInt8": - case "char": value = reader.ReadByte(); break; + case "char": + value = BitConverter.ToChar(reader.ReadBytes(2), 0); + break; case "short": case "SInt16": value = reader.ReadInt16();