summaryrefslogtreecommitdiff
path: root/NW4RTools
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-05-24 01:07:25 +0200
committerTreeki <treeki@gmail.com>2011-05-24 01:07:25 +0200
commitd3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053 (patch)
tree2bf2122de142784fbdeb9506baeda91c0eb8c2ac /NW4RTools
parent1d64fe4efc123b8baec2b1dbbd5d87931ac626d2 (diff)
downloadnw4rtools-d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053.tar.gz
nw4rtools-d3f7d43d9cf8a3126d5b1cbbd0c10fc96c5d6053.zip
how did I miss that
Diffstat (limited to 'NW4RTools')
-rw-r--r--NW4RTools/BrresWriter.cs6
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);