mirror of
https://github.com/celisej567/LibBSP.git
synced 2026-09-04 15:35:12 +03:00
Fix reading Call of Duty maps.
This commit is contained in:
@@ -161,7 +161,7 @@ namespace LibBSP {
|
||||
lumpLength = BitConverter.ToInt32(input, 4);
|
||||
lumpVersion = BitConverter.ToInt32(input, 8);
|
||||
lumpIdent = BitConverter.ToInt32(input, 12);
|
||||
} else if (version == MapType.CoD2) {
|
||||
} else if (version == MapType.CoD || version == MapType.CoD2) {
|
||||
lumpLength = BitConverter.ToInt32(input, 0);
|
||||
lumpOffset = BitConverter.ToInt32(input, 4);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user