From dc049bdfb58fbfe799e5cb3537065cbdd57a5b09 Mon Sep 17 00:00:00 2001 From: Luzifix Date: Thu, 1 Aug 2024 22:01:33 +0200 Subject: [PATCH] MDID and MHID seem to be optional chunks, see kultiras_17_17_tex0.adt --- Warcraft.NET/Files/ADT/TerrainTexture/BfA/TerrainTexture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Warcraft.NET/Files/ADT/TerrainTexture/BfA/TerrainTexture.cs b/Warcraft.NET/Files/ADT/TerrainTexture/BfA/TerrainTexture.cs index 67b5d97..2cd6b16 100644 --- a/Warcraft.NET/Files/ADT/TerrainTexture/BfA/TerrainTexture.cs +++ b/Warcraft.NET/Files/ADT/TerrainTexture/BfA/TerrainTexture.cs @@ -6,10 +6,10 @@ namespace Warcraft.NET.Files.ADT.TerrainTexture.BfA [AutoDocFile("adt", "_tex0 ADT")] public class TerrainTexture : TerrainTextureBase { - [ChunkOrder(4)] + [ChunkOrder(4), ChunkOptional] public MDID TextureDiffuseIds { get; set; } - [ChunkOrder(5)] + [ChunkOrder(5), ChunkOptional] public MHID TextureHeightIds { get; set; } ///