Fix brain fart reading shader names in MoHAA.

This commit is contained in:
wfowler
2018-12-01 18:55:59 -07:00
parent 27736ef13f
commit be109e0590

View File

@@ -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;