From be109e05909d8d36733dce6fc093cc67745c3e6a Mon Sep 17 00:00:00 2001 From: wfowler Date: Sat, 1 Dec 2018 18:55:59 -0700 Subject: [PATCH] Fix brain fart reading shader names in MoHAA. --- LibBSP/Source/Structs/BSP/Texture.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LibBSP/Source/Structs/BSP/Texture.cs b/LibBSP/Source/Structs/BSP/Texture.cs index 1d1b156..c1f5e12 100644 --- a/LibBSP/Source/Structs/BSP/Texture.cs +++ b/LibBSP/Source/Structs/BSP/Texture.cs @@ -44,6 +44,7 @@ namespace LibBSP { case MapType.CoD2: case MapType.CoD4: case MapType.FAKK: + case MapType.MOHAA: case MapType.Nightfire: { return data.ToNullTerminatedString(0, 64); } @@ -93,6 +94,7 @@ namespace LibBSP { case MapType.CoD2: case MapType.CoD4: case MapType.FAKK: + case MapType.MOHAA: case MapType.Nightfire: { for (int i = 0; i < 64; ++i) { data[i] = 0;