From 5e61aba0c4efb03afda5dfd394279bbc88137ec3 Mon Sep 17 00:00:00 2001 From: krogenth Date: Thu, 28 Dec 2023 13:34:20 -0500 Subject: [PATCH] fixed issue with map hta saving missing bytes (#63) --- src/G2DataGUI.Common/Data/Maps/MapHTA.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/G2DataGUI.Common/Data/Maps/MapHTA.cs b/src/G2DataGUI.Common/Data/Maps/MapHTA.cs index 21e8f91..777a5a9 100644 --- a/src/G2DataGUI.Common/Data/Maps/MapHTA.cs +++ b/src/G2DataGUI.Common/Data/Maps/MapHTA.cs @@ -59,6 +59,7 @@ public void WriteMapHTA(Stream writer) writer.WriteRawInt(Unknown2); writer.WriteRawByte(Attribute); writer.WriteRawByte(Unknown3); + writer.WriteRawShort(Unknown4); writer.WriteRawFloat(Unknown5); Minimum.WriteVector3(writer); Maximum.WriteVector3(writer);