diff --git a/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/Main/D3DTX_Master.cs b/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/Main/D3DTX_Master.cs index e6bc150..eb11a15 100644 --- a/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/Main/D3DTX_Master.cs +++ b/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/Main/D3DTX_Master.cs @@ -378,15 +378,15 @@ public uint GetHeight() if (d3dtx4 != null) return d3dtx4.mHeight; else if (d3dtx5 != null) - return d3dtx4.mHeight; + return d3dtx5.mHeight; else if (d3dtx6 != null) - return d3dtx4.mHeight; + return d3dtx6.mHeight; else if (d3dtx7 != null) - return d3dtx4.mHeight; + return d3dtx7.mHeight; else if (d3dtx8 != null) - return d3dtx4.mHeight; + return d3dtx8.mHeight; else if (d3dtx9 != null) - return d3dtx4.mHeight; + return d3dtx9.mHeight; else return 0; }