mirror of
https://github.com/celisej567/LibBSP.git
synced 2026-09-04 15:35:12 +03:00
Fix brain fart reading shader names in MoHAA.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user