From d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 24 May 2011 01:07:25 +0200 Subject: how did I miss that --- NW4RTools/BrresWriter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'NW4RTools/BrresWriter.cs') diff --git a/NW4RTools/BrresWriter.cs b/NW4RTools/BrresWriter.cs index f0dc0a1..04750de 100644 --- a/NW4RTools/BrresWriter.cs +++ b/NW4RTools/BrresWriter.cs @@ -1039,11 +1039,11 @@ namespace NW4RTools { if (mat.PixDL.Length != 0x20) throw new Exception("Material " + kv.Key + " PixDL must be size 0x20"); if (mat.TevColorDL.Length != 0x80) - throw new Exception("Material " + kv.Key + " TevColorDL must be size 0x20"); + throw new Exception("Material " + kv.Key + " TevColorDL must be size 0x80"); if (mat.IndMtxAndScaleDL.Length != 0x40) - throw new Exception("Material " + kv.Key + " IndMtxAndScaleDL must be size 0x20"); + throw new Exception("Material " + kv.Key + " IndMtxAndScaleDL must be size 0x40"); if (mat.TexCoordGenDL.Length != 0xA0) - throw new Exception("Material " + kv.Key + " TexCoordGenDL must be size 0x20"); + throw new Exception("Material " + kv.Key + " TexCoordGenDL must be size 0xA0"); Output.WriteBytes(mat.PixDL); Output.WriteBytes(mat.TevColorDL); -- cgit v1.2.3