diff options
Diffstat (limited to 'NW4RTools')
-rw-r--r-- | NW4RTools/BrresWriter.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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); |