(CoD) Fix index and data type of LeafPatches lump

This commit is contained in:
wfowler
2020-04-20 02:56:06 -06:00
parent 67211b5cce
commit a641cf9b61

View File

@@ -319,8 +319,8 @@ namespace LibBSP {
public static int GetIndexForPatchIndicesLump(MapType version, out DataType dataType) {
switch (version) {
case MapType.CoD: {
dataType = DataType.UInt16;
return 26;
dataType = DataType.UInt32;
return 23;
}
}
dataType = DataType.Invalid;