summaryrefslogtreecommitdiff
path: root/NW4RTools/ObjImporter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'NW4RTools/ObjImporter.cs')
-rwxr-xr-xNW4RTools/ObjImporter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/NW4RTools/ObjImporter.cs b/NW4RTools/ObjImporter.cs
index 1e36983..384fb66 100755
--- a/NW4RTools/ObjImporter.cs
+++ b/NW4RTools/ObjImporter.cs
@@ -377,7 +377,7 @@ namespace NW4RTools {
var texCoordGenDL = new DisplayListWriter();
texCoordGenDL.LoadXFReg(0x1040, new byte[] { 0x00, 0x00, 0x52, 0x80 });
texCoordGenDL.LoadXFReg(0x1050, new byte[] { 0x00, 0x00, 0x00, 0x00 });
- texCoordGenDL.AddPadding(110);
+ texCoordGenDL.PadToSize(0xA0);
texCoordGenDL.End();
currentMaterial.TexCoordGenDL = texCoordGenDL.GetBuffer();