diff options
author | Treeki <treeki@gmail.com> | 2011-05-24 01:07:25 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-05-24 01:07:25 +0200 |
commit | d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053 (patch) | |
tree | 2bf2122de142784fbdeb9506baeda91c0eb8c2ac /NW4RTools/BrresWriter.cs | |
parent | 1d64fe4efc123b8baec2b1dbbd5d87931ac626d2 (diff) | |
download | nw4rtools-d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053.tar.gz nw4rtools-d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053.zip |
how did I miss that
Diffstat (limited to 'NW4RTools/BrresWriter.cs')
-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); |